Return to Snippet

Revision: 51000
at September 10, 2011 19:50 by FumarMata

Initial Code
#import "RegisterViewController.h"


	UIViewController *viewController3 = [[[RegisterViewController alloc] initWithNibName:@"RegisterViewController" bundle:nil] autorelease];

	NSMutableArray* controllers = [[self.tabBarController.viewControllers mutableCopy] autorelease];
	[controllers removeObjectAtIndex:1];
	[controllers insertObject:viewController3 atIndex:0];
	[self.tabBarController setViewControllers:controllers animated:YES];

Initial URL

Initial Description

Initial Title
Add / remove view controllers to tab bar controller

Initial Tags
c, navigation, iphone, ios

Initial Language
Objective C