Adding NavigationController to detailview

Discussion in 'iPhone/iPad Programming' started by cjor10, Jan 18, 2011.

  1. macrumors newbie

    Joined:
    Jan 18, 2011
    #1
    Hi, I'm new to ipad development i'm working with a splitview based app and i would like to know how can I use NavigationController in the detail section of the template in order to push to another view when a button that I've added is pushed.
    I appreciate your help:confused:
     
  2. macrumors 6502

    Joined:
    Aug 29, 2010
    #2
    I haven't done an iPad app yet, so I haven't experienced the SplitViewControllers.

    But if you have a NavigationController..does [navigationController pushViewController:viewController animated:YES] not work?
     
  3. thread starter macrumors newbie

    Joined:
    Jan 18, 2011
    #3
    That is my problem the navigation controller is controls the root view section of the split view template and i want to implement that in the detail view section in order to switch only the detail.
     
  4. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #4
    Since you're using the Split View-based template, the view controllers of the split view are set up inside MainWindow.xib. You'll want to find a way to either adjust things in Interface Builder to suit your needs or scrap the template and roll your own split-view using, I would suggest, a simple Window-based App.
     

Share This Page