I have two textfields which are of type UITextField.
I have two buttons click and cancel.
The idea is to enter two numbers and it will navigate to next view. This View should display those two numbers.
The problem is if I click on the textfield one then the keypad is responding; when I click return it does not jump to the next field.
-(BOOL)textFieldShouldReturn:(UITextField *)textField{[textField resignFirstResponder];return YES;}
You need to connect
UITextFiledDelegate fromnibor programeticuly like this image:or
other way is programmatic like in your
viewDidLoadmethod orviewWillAppearmethod:EDIT
for jumping AnotherView Use this textfiled delegate method:-