Keyboard handling

iPhone SDK Tips & Tricks


Keyboard Show:
[searchBar becomeFirstResponder];


Keyboard hide:
[searchBar resignFirstResponder];