我使得像文本字段搜索。UISearchBarDisplayController不显示我的键盘
在我所先创建文本字段,并添加新的UISearchViewController
现在我已经设定
- (void)textFieldDidBeginEditing:(UITextField *)textField
{
[textField resignFirstResponder];
self.searchDisplayController.searchBar.hidden = FALSE;
[self.searchDisplayController.searchBar becomeFirstResponder];
[self.searchDisplayController setActive:YES animated:NO];
}
但我只看到搜索显示控制器和黑色的背景与出键盘
当我直接按搜索栏它显示键盘
我该怎么做显示键盘在UISearchBarControll呃从上述方法
编辑
请此行是要制造问题从这里http://sourceforge.net/projects/locationdemo/files/LocationDemo.zip/download
嘿感谢答复份额,但它不是工作.. – Hiren
见我的编辑以上 –
看我的代码PLZ – Hiren