On an iPad with iOS 6 GM. I have 6 UITextFields, 3 UITextViews, and a UIButton that triggers a popover/actionsheet.
When I select one of the UITextFields or UITextVie
This is apparently bug in iOS 6. Just put [searchBar becomeFirstResponder]; into searchBarTextDidBeginEditing method:
[searchBar becomeFirstResponder];
searchBarTextDidBeginEditing
- (void)searchBarTextDidBeginEditing:(UISearchBar *)searchBar { if (!self.window.isKeyWindow) { [self.window makeKeyAndVisible]; } }
This solution works for me.