Tyler McMaster Tyler McMaster - 1 year ago 71
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 Source
[myTextField resignFirstResponder]

Here, second paragraph in the Managing the Keyboard section.