¡@

Home 

2014/10/15 ¤U¤È 10:14:43

iphone Programming Glossary: tabbarviewcontrollers

Having a UITabBar AND a UINavigationController in an app?

http://stackoverflow.com/questions/2339177/having-a-uitabbar-and-a-uinavigationcontroller-in-an-app

and Place the NAvigationcontroller insided the Tabbar. This will work fine for you p Ex NSMutableArray tabBarViewControllers NSMutableArray alloc initWithCapacity 2 tabBarController UITabBarController alloc init tabBarController setDelegate self.. nil navigationController UINavigationController alloc initWithRootViewController Your View controller1 tabBarViewControllers addObject navigationController navigationController release navigationController nil navigationController UINavigationController.. nil navigationController UINavigationController alloc initWithRootViewController Your View controller2 tabBarViewControllers addObject navigationController navigationController release navigationController nil tabBarController tabBarViewControllers..