1
你好,我有一個按鈕竊聽 這裏時必須出示一個模式視圖控制器的操作:performSegue導致警告試圖提出同時演示正在進行
- (IBAction)addNewLevelAction:(id)sender
{
[self performSegueWithIdentifier:kNewLevelConfigureSegue sender:self];
}
在prepareForSegue
:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([segue.identifier isEqualToString:kNewLevelConfigureSegue]) {
PSLevelConfigViewController *dest = (PSLevelConfigViewController *)[segue destinationViewController];
dest.delegate = self;
}
}
然而,當我特普我得到它:
Warning: Attempt to present <PSLevelConfigViewController: 0x98cbd00> on <UINavigationController: 0x98aac70> while a presentation is in progress!
爲什麼 這是?沒有其他演示文稿...
令人難以置信..我確定我檢查了... – user1028028