この質問は何度も投稿されていますが、自分のやり方で何が問題なのかわかりません。UIView
プログラムで単純にプッシュしたい:
UINavigationController *navController = self.navigationController;
[navController popViewControllerAnimated:YES];
WebViewDisplayer *webViewDisplayer = [[WebViewDisplayer alloc] init];
webViewDisplayer.view.backgroundColor=[UIColor redColor];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration: 0.65];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:navController.view cache:YES];
[navController pushViewController:webViewDisplayer animated:YES];
[UIView commitAnimations];
コードで移動したいUIViewController
呼び出しWebViewDisplayer
がありますが、コードが遷移に応答していないようです。事前に助けてくれてありがとう。