Tyler McMaster Tyler McMaster - 4 months ago 14
iOS Question

How do I dismiss the iOS keyboard?

I have a UITextfield that i'd like to dismiss the keyboard for. I can't seem to make the keyboard go away no matter what code i use.

Answer
[myTextField resignFirstResponder]

Here, second paragraph in the Managing the Keyboard section.

Comments