我正在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];
}
模態控制器節目但解聘生成一個警告: 在該控制器I創建模式視圖這樣。 的此控制器解僱方法是:生成
-(IBAction)backToMap
{
[self dismissModalViewControllerAnimated:YES];
}
的警告警告:
嘗試從視圖控制器< UINavigationController的駁回:0x1ed91620>而呈現或駁回正在進行!
有關於此的任何線索?
感謝
相關 - HTTP://計算器。 com/questions/1412021/iphone-crashing-when-presenting-modal-view-controller – ChrisF