I have make like text field search.
In which i have first create text field and also add new UISearchViewController
Now i have set
- (void)textFieldDidBeginEditing:(UITextField *)textField
{
[textField resignFirstResponder];
self.searchDisplayController.searchBar.hidden = FALSE;
[self.searchDisplayController.searchBar becomeFirstResponder];
[self.searchDisplayController setActive:YES animated:NO];
}
but i have seen only search display controller and black background with out keyboard
when i directly pressed in search bar it’s shows keyboard
what should i do for show keyboard in UISearchBarController from above method
EDIT
Please download my code from here http://sourceforge.net/projects/locationdemo/files/LocationDemo.zip/download
Finally I have my answer which want to share with every one