簡単な質問...私のアプリは、UIViewController (もちろん) を備えた UINavigationController から始まりますが、ボタンが押されたときに、別の UINavigationController を表示したいと考えています。
私はしますか:
[self.navigationController presentViewController:AnotherNavigationController animated:YES completion:nil];
また:
[self presentViewController:AnotherNavigationController animated:YES completion:nil];
どちらの方法でも機能します...しかし、どちらが正しいかわかりません...また、navigationcontrollerが表示されるとBarButtonItemが表示されないようです
PS。ナビゲーション コントローラには、2 つのタブ ビューを持つタブバー コントローラがあります。
ありがとうございます!