I have a UITextField in an initial screen and I want the keyboard to appear up as soon as I start the view without having to click inside the UITextField box. When I press return I want you to do a check of the text typed with a string if it is the same the keyboard can go down or stay up. If the text is not the same the keyboard must remain uploaded, and allow me to re-enter another text. I also want to disable the keyboard hide key.
I currently have this code:
inside the ViewDidLoad: [self.textField becomeFirstResponder]
'- (BOOL)textFieldShouldReturn:(UITextField *)textField {
[textField resignFirstResponder];
return YES;
}'
To check the text I do it in a - (IBAction) didEndPass and I do one thing or another.