ios - tapping on another uitextfield does not close the keyboard -
I have several videotides on one view and in this mehtod:
- (void ) TextFieldDidEndEditing: (UITextField *) textField I'm calling:
[textField resignFirstResponder]; But it does not hide the keyboard while switching between UTTFFLIDS, I want to close it because some UITDEFLIDS open other views.
I have examined all the incidents
I have seen this answer here but it does not help:
If you want to close the keyboard by killing specific textfield, tag that textfield and apply its representative method:
- (BOOL) textFieldShouldBeginEditing: (UITextField *) textField {if (textField. Tag == 1} {end.editing {self.view: yes]; no return; } And return yes; }
Comments
Post a Comment