I have tried this solution to hide keyboard but it doesn’t work…
How to hide the keyboard when i press return key in a UITextField?
Many thanks
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.
assuming you are using UITextField, how do you create the textfield? is it by xib? or by code? make sure you implement UITextFieldDelegate in your class
if its xib, connect your textField to the file owner’s delegate. and also connect your File owner to your IBOutlet UITextField
if its by code. just do
now implement