I have little experience in Objective-C. I want to hide the keyboard for a text field using the Swift programming language.
I also tried this
func te
In order to hide the keyboard when you pressed a button, you need to use the following function.
self.view.endEditing(true)
This works when a button is pressed.
Hope this helps someone out there.