19
Como verifico quando um UITextField é alterado?
Estou tentando verificar quando um campo de texto é alterado, equivalente também à função usada para textView - textViewDidChangeaté agora, fiz isso: func textFieldDidBeginEditing(textField: UITextField) { if self.status.text == "" && self.username.text == "" { self.topRightButton.enabled = false } else { self.topRightButton.enabled = true } } Que tipo de trabalho, …
290
ios
swift
uitextfield