I use uitextfield in my programming style
-(BOOL)textFieldShouldEndEditing:(UITextField *)textField
{
[textField resignFirstResponder];
return YES;
}
to catch the event in which my text box will be processed. In events in which I change focus from one text field to another or press return, the event fires, but if I am in the text field and press another uicontrol as a button from it, this method does not fire. What is wrong here ... I need to catch every event when the user has edited the text field. I tried using textfielddidendeditingtoo, but this event is skipped. How to overcome this
source
share