Search code examples
iphoneioskeyboarduisearchbar

How to show keyboard without touching the UISearchbar?


Can I show the keyboard for UISearchbar on viewWillAppear method call without touching the UISearchbar ?


Solution

  • [mySearchBar becomeFirstResponder];