僅在iOS 7上,使用UIImagePickerController後,我的應用中的導航欄不響應任何觸摸,然後解散(是否已選擇圖片)。導航欄下方的屏幕功能正常,但現在無法在應用中導航回來;用戶被困在這個屏幕上。導航欄在UIImagePickerController關閉後沒有響應
我從代碼啓動UIImagePickerController,但應用程序的其餘部分放在故事板中。
UIImagePickerController *mediaUI = [[UIImagePickerController alloc] init];
mediaUI.sourceType = UIImagePickerControllerSourceTypeSavedPhotosAlbum;
mediaUI.mediaTypes = [NSArray arrayWithObject:(NSString *) kUTTypeImage];
mediaUI.allowsEditing = NO;
mediaUI.delegate = self;
[controller presentModalViewController: mediaUI animated: YES];
在此先感謝您的幫助。
感謝您的評論,但這不是問題。 –
那麼它解決了嗎? –