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 ?
Asked
Active
Viewed 800 times
1 Answers
0
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
- 16,474
- 17
- 72
- 93