Is there a way to detect if a user has click on the searchbar textfield and the keyboard has appear ?
+1
A:
Your searchbar delegate should receive a searchBarTextDidBeginEditing: message.
Ben Gottlieb
2010-01-19 18:24:33
A:
If you are implementing UISearchBarDelegate, the first method that should be called is:
- (BOOL)searchBarShouldBeginEditing:(UISearchBar *)searchBar {
//do stuff
return YES;
}
Here's the class reference:
sw
2010-01-19 18:29:04