私はiOS 6で作業しています。 私のアプリケーションには、CustomViewControllerが組み込まれた標準のナビゲーションコントローラがあります。モーダルビューコントローラを却下する奇妙な警告
-(IBAction)presentModalList:(id)sender {
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MainStoryboard" bundle:nil];
StationsListViewController *list = [storyboard instantiateViewControllerWithIdentifier:@"StationsListViewController"];
[list setStationsData: [self.stationsData allValues]];
[self presentModalViewController:list animated:YES];
}
モーダルコントローラショーは完全にはなく却下警告を生成します。 は、このコントローラでは私はこのようなモーダルビューを作成します。 このコントローラにメソッドを却下です:
-(IBAction)backToMap
{
[self dismissModalViewControllerAnimated:YES];
}
警告が生成された警告さ:ビューコントローラ< UINavigationControllerから却下する
試み:プレゼンテーションながら0x1ed91620>または解任が進行中です!
これについての手がかりは?私はこれが後半の答えであると認識多分、これは他の誰かがこの解決策を探しに役立つ
おかげ
関連 - のhttp://のstackoverflow。 com/questions/1412021/iphone-crashing-when-presenting-modal-view-controller – ChrisF