hi, I have a search bar and on clicking the search bar the keyboard pops up. On pressing the search button on search keyboard the keyboard should hide. How to do this ?
A:
Basically you just need to call the resignFirstResponder method
-(IBAction)ButtonClick
{
[txtview resignFirstResponder];
}
there are several answers to this question on StackOverFlow. Just search.
Joel
2010-08-19 19:11:05