views:

956

answers:

4

I am creating split view based application for i pad.

I have 1)root view controller 2)detail view controller

It is like menu and submenu

Here i am planning to do i would like to have navigation in root view controller.

It is recomonded to use or not. If it is recomended how is it possible.

A: 

Not sure what you're asking. If you're asking whether it's recommended to do it like how you describe, then yes, that's the most recommended way to do it.

Root view controller (the smaller left side menu) usually contains the navigation stuff, while the detail view controller (the bigger right side view) contains all the detailed stuff.

You might want to take a look here for a HOW-TO: http://developer.apple.com/iphone/library/documentation/General/Conceptual/iPadProgrammingGuide/UserInterface/UserInterface.html#//apple_ref/doc/uid/TP40009370-CH3-SW8

Other documents can be found here: http://developer.apple.com/ipad/sdk/index.html

David Liu
A: 

Can anyone tell me how to let the split view only show the detail view in landscape orientation?

A: 

There is a function in the Detail View Controller for showing or not showing the popover Button. Possibly you could adapt that in the App Delegate for the whole Detail View Controller? Just go through the source code provided by Apple. It is all well commented.

Steffen
A: 

I was stuck up in same stuff and ended up with the solution given over link below.

href=http://usmanshabbir.blogspot.com/2010/09/split-view-controller-calling-detail.html

Usman Shabbir