PDA

View Full Version : does only one NavigationViewController need?




mikezang
Jul 10, 2010, 11:04 PM
I just want to know if only one NavigationViewController needs in a app?

For example, in case rootView->firstView->secondView, I thought there are two navigationViewControllers, is it correct?



PhoneyDeveloper
Jul 11, 2010, 10:26 AM
In a navbar app there's only one navigation controller. Use pushViewController and maybe popViewController to show the next view controller and go back.

south8212
Jul 11, 2010, 12:18 PM
yes, there is only one navigation controller needed but you must add a table view (or another view) to get to the second view.