PDA

View Full Version : Adding NavigationController to detailview




cjor10
Jan 18, 2011, 01:13 PM
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:



cnstoll
Jan 18, 2011, 02:59 PM
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?

cjor10
Jan 18, 2011, 08:54 PM
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.

dejo
Jan 19, 2011, 09:40 AM
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.