Xcode 4.4를 4.5로 업그레이드 한 이후로 문제가 있습니다. 앱을 실행하면 검색 막대 컨트롤러가 생깁니다. 키보드를 클릭하면 이전처럼 키보드가 나타나지만 Mac 키보드 또는 시뮬레이터 키보드로는 쓸 수 없습니다.iOS 6 시뮬레이터 키보드가 응답하지 않습니다
그러나 내 ShareKit 단추를 사용하면 도구 모음에서보기가 나타납니다. 이 ShareKit보기가 표시된 후에 내 검색 막대 컨트롤러를 사용하려고하면 작동합니다!
이 방법은 호출됩니다
- (void)searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)controller
- (void)searchDisplayControllerDidEndSearch:(UISearchDisplayController *)controller
그러나이 방법은 호출되지 않습니다, 그것은 응답하지 키보드 때문에 나는 텍스트를 입력 할 수 없습니다.
-(BOOL)searchDisplayController:(UISearchDisplayController *)controller
shouldReloadTableForSearchString:(NSString *)searchString
- (BOOL)searchDisplayController:(UISearchDisplayController *)controller
shouldReloadTableForSearchScope:(NSInteger)searchOption
하지만이 방법을 사용할 때 : 나는 검색 창에 키보드를 사용할 수 있습니다 후
- (IBAction)share:(id)sender
{
if (!_url) {
return;
}
SHKItem *item = [SHKItem URL:_url title:@"Share this URL"];
SHKActionSheet *actionSheet = [SHKActionSheet actionSheetForItem:item];
// ShareKit detects top view controller (the one intended to present ShareKit UI) automatically,
// but sometimes it may not find one. To be safe, set it explicitly
[SHK setRootViewController:self];
[actionSheet showFromToolbar:self.navigationController.toolbar];
}
합니다. 이 ... 아이폰 OS 6 시뮬레이터 전에 완벽하게
감사 작업 때문에
은 누군가가 제발 도와 드릴까요!
편집 : 도움을 주신 데 대해 감사드립니다.
내 mainWindow.xib Window 요소에 대해 "Visible at launch"를 선택하면됩니다.
희망은 다른 사람들에게 도움이되기를 바랍니다.
코드의 관련 부분을 공유하지 않는 한 아무도 도움을 줄 수 없습니다. – borrrden
나는 내 게시물을 편집;) – orsonn
나는 비슷한 문제가 있었다. 이 질문에 대한 답은 나를 위해 해결되었습니다. http://stackoverflow.com/questions/12447875/keyboard-and-cursor-show-but-i-cant-type-inside-uitextfields-and-uitextviews/12504575#12504575 –