does only one NavigationViewController need?

Discussion in 'iOS Programming' started by mikezang, Jul 10, 2010.

  1. macrumors 6502a

    Joined:
    May 22, 2010
    Location:
    Tokyo, Japan
    #1
    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?
     
  2. macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    In a navbar app there's only one navigation controller. Use pushViewController and maybe popViewController to show the next view controller and go back.
     
  3. macrumors 6502

    Joined:
    Oct 18, 2008
    #3
    yes, there is only one navigation controller needed but you must add a table view (or another view) to get to the second view.
     

Share This Page