How to hide the keyboard programmatically in iphone

thndrkiss picture thndrkiss · Apr 6, 2010 · Viewed 9.1k times · Source

How to hide the keyboard programmatically in iphone?

Answer

glorifiedHacker picture glorifiedHacker · Apr 6, 2010

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

[responder resignFirstResponder];