Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
for a tabBarController based project we populate the viewControllers collection of the tabBar by creating an array of ViewControllers. This creates all the viewControllers at the start [Correct me here if it is wrong]
For my case where the views are created using XIB, I need that when the user selects a tab from the tabBarController then its respective view gets generated and when user switch to a different tab bar, the previous view controller is released. Is it possible?
IN short, I am looking for an alternative way of generating the tabs of tabBarControllers that do not use viewControllers collections
Thanks
Arnieterm
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.