Is it possible to check if a TextField has been resigned?
I have 3 TextFields, and Cycle through them with return key with (resignFirstResponder) and (becomeFirstResponder)
But is there a way to check if a field has resigned? I noticed some of my app testers don’t use return key but click manually on the fields, and that way my previous field doesn’t save data the way it should.
What’s the best way to check if a user clicked away from a TextField ? Either on to a next text field or temporary away ?
isFirstResponder Apple Docs
Returns a Boolean value indicating whether this object is the first responder.
how to use
If you want to save data when textField change focus .. you should implement delegate method of text field
in your case yo can check which texfield ends editing
Apple Docs for textFieldShouldEndEditing