Search code examples
iosiphoneiphone-softkeyboard

How to hide the keyboard programmatically in iphone


How to hide the keyboard programmatically in iphone?


Solution

  • Tell the UIResponder subclass that is currently first responder to resign its first responder status:

    [responder resignFirstResponder];