問題は次のとおりです。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...これはどのように行われるべきですか?