In my app I do not want to show keyboard even when UITextfield is firstresponder.Can anyone know how this can be achieved?
Thanks in advance!
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.
The idea of a UITextField (or other text entry UIControl subclass) is that when it’s firstResponder, it’s all set to receive text entry.
If you’re paired with a bluetooth keyboard, the device won’t show a soft keyboard, because the field is set up to receive text entry from the physical keyboard. If you’re not, then it’s going to show a soft keyboard so you can enter text. That’s just how it works.
It could be that what you mean by “first responder” isn’t really what you mean. Can you say some more about what you want to accomplish here?