iphone - switch between multi viewcontroller's view -


I have a project that has a root view controller and multiple sub-view controller. I call in the original view controller and switch between 2 sub-views

as the code:

  // root view in front of all the visual subviewcontrollers'view Controller controller [vViewController2.view removeFromSuperview]; [Insert Self.viewSeview: Index on vViewController1.view: 0];  

In this mode the sub-scene / visual controller will be unloaded in memory, when it loads later, it will prompt the viewDidload's event.

But I like the sub-view controller when it loads and when it is switched, it stores in memory instead of unloading it from memory.

If this is done, then I have to increase the value of atInexex.

When

Welcome to any comment

Thanks Interweave

P>

The standard solution, i.e. UINavigationController or UITabBarController , based on the hierarchy of your thoughts Consider using - these standard classes will work a lot for you.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -