views:

70

answers:

2

Here's another very basic question. Is there an easy way to rename the rootviewcontroler? Say I decided that I needed to add a page before the current rootview (splash page, mini data snipits from the main app, ect.) How hard would it be to create another rootviewcontroller? I guess you would just take the current one and edit out lots of stuff.

Thanks.

+1  A: 

Do yourself a favor and read this:

iPhone Application Programming Guide

ennuikiller
A: 

Make a new viewcontroller for any view or set of views that manage different user experiences or tasks. I have a root viewcontroller in most of my apps to handle transitions and provide a few global methods, and then a viewcontroller (VC) for my settings UI, another for my game, another for my high scores list, etc.

Adding new VCs are as simple as the first one you added. If you are a bit timid about VCs, there are other classes that can keep some of the VC handling hidden in their code, like the Navigation Controller.

Please read up on VCs to see how they are intended to be used. Here is one.

mahboudz