키보드에서 빽스페이스 클릭시 텍스트의 뒤에서 부터 하나씩 삭제

func backSpaceKey() {
   quantityTextField.text = String(quantityTextField.text!.dropLast(1))
}

+ Recent posts