Mike Mike - 1 year ago 65
iOS Question

How to add detail views to table view?

I hope someone can help me!

So I am building a app and I need to have 10 pages.
I found a way to order them in a way that suits the purpose.

I am using the template of this tutorial:

The sample code is on github:

So I have a split view, with the master view split in 2 by a tab bar. The master view contains a table. The only thing I need to know is how I can add 4 detail view pages to the Master 1 table, and 6 detail view pages to the master2 table, working and navigating well. So I can edit the pages individual and easy navigate to them.

The orientation of the app is: Landscape.

If you need more information, look at the tutorial, sample code or ask me the things you need to know to help me.

Answer Source

I would recommend that you read up on the basics of UIViewController design and implementation. Here are a few links to get you started:

UIViewController Programming Guide: http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/AboutViewControllers/AboutViewControllers.html

Then when you've got a handle on that, check out the UISplitViewController documentation: http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UISplitViewController_class/Reference/Reference.html#//apple_ref/occ/cl/UISplitViewController

You could also refine your question by providing some examples of what you have tried that have not worked. This way the community would have a better idea of what you're trying to do.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download