UIViewController
にはUINavigationController
が埋め込まれています。私はこのviewController
を提示したいと提示した後、私はまた、ナビゲーション方法(&ポッププッシュ)を必要とするので、私はUIViewController
の代わりにUINavigationController
を提示していますが、そのために、私は、以前のものViewController
フォームにアクセスできませんのように、そのViewController
にカスタムデータを渡す必要がありますViewController
。 ここに私のコードです。NavigationController経由でデータを渡す
UINavigationController *navigationController = [self.storyboard instantiateViewControllerWithIdentifier:@"MyNavigationIdentity"]];
[self presentViewController:navigationController animated:YES completion:nil];
P.S私はできない
alloc
とinit
新しいnavigationController
私はストーリーボードから私のnavigationControllerを設計していて。
このためには、あなたの 'UINavigationController'の' childViewControllerers'プロパティを使う必要があります。あなたは詳細を私の答えを確認することができます – KrishnaCA