I have two textfield, in first textfield I write “Hello” and when I push enter in iPad keyboard, I want that in second textfield appear “World”; How can I use enter to create an action in my application?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would typically assign your view controller as the text field’s delegate and then implement the
textFieldShouldReturn:method, e.g.: