Add a single UIViewController controller to tabBarController


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #import "RegisterViewController.h"
  2.  
  3. //
  4.  
  5.  
  6. UIViewController *viewController3 = [[[RegisterViewController alloc] initWithNibName:@"RegisterViewController" bundle:nil] autorelease];
  7. [self.tabBarController setViewControllers:[self.tabBarController.viewControllers arrayByAddingObject:viewController3] animated:YES];

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.