user1227928
user1227928

Reputation: 829

MGSplitViewController with Navigation Controller on detail side

I am currently working on MGSplitViewController .So in this custom split view controller the root view controller is already present in side a navigation controller (MainWindow.xib) but my main aim is to get the MGSplitViewController working with a NavigationController in the details side also?

How can i do it, can anybody able to achieve this ?

Upvotes: 1

Views: 783

Answers (2)

Phillip Mills
Phillip Mills

Reputation: 31016

I do that in one project.

Put a UINavigationController into MainWindow.xib and have it contain your normal detail controller. (You can either configure the detail controller directly or tell it to reference another xib file.) Link the detailViewController outlet in MGSplitViewController to your detail navigation controller.

Let me know if some part of that is giving you trouble.

Upvotes: 3

Ronak
Ronak

Reputation: 974

Try this APSplitViewController project from SlavaBushtruk's github.

This will anwser to your requirement.

Thanks

Upvotes: 0

Related Questions