Tab Bar Application With Navigation Controller

前端 未结 8 933
春和景丽
春和景丽 2020-11-27 10:28

I have a simple iPhone app that has a tab bar and 3 tabs. Each tab loads as a separate nib with a corresponding controller. Each nib contains a tableview with some other con

8条回答
  •  囚心锁ツ
    2020-11-27 10:47

    The way to think about it is this:

    You want each tab to have a navigation controller. Then, each nav controller needs to have a root view controller and a loaded Nib.

    So, in IB, add nav controllers for each of your tabs. Then, configure each nav controller to have the appropriate root view controller and Nib.

提交回复
热议问题