問題は次のとおりです。modalViewController
次のようなIBActionをトリガーするボタンが表示されます。
-(IBAction)myMethod
{
[self dismissModalViewControllerAnimated:YES];
if([delegate respondsToSelector:@selector(presentOtherModalView)])
{
[delegate presentOtherModalView];
}
}
そのデリゲートであるルートビューでは、デリゲートメソッドをmodalViewController
実装しました。presentOtherModalView
これは次のようになります。
-(void)presentOtherModalView
{
AnotherViewController *viewInstance = [[AnotherViewController alloc]initWithNibName:@"AnotherViewController" bundle:nil];
viewInstance.modalTransitionStyle = UIModalTransitionStyleCoverVertical;
[self presentModalViewController:viewInstance animated:YES];
[viewInstance release];
}
問題は、この2番目modalViewController
が表示されていないことです。それは私にメッセージを与えますwait_fences: failed to receive reply: 10004003
...これはどのように行われるべきですか?