title: How to set tab bar item title programmatically in objective c?
body: <p>I want to set title to tab item programatically, but it not works. My code is below:</p>
  
  <pre><code>- (IBAction)tab1Click:(id)sender {
      myTabBarController = [[UITabBarController alloc] init];        
      view2Controller = [[View2Controller alloc] init]; 
      [view2Controller setTitle:@"title"];
      view3Controller = [[View3Controller alloc] init];  
      deneme = [[ViewController alloc] init];  
  
      myTabBarController.viewControllers = [NSArray arrayWithObjects:deneme, view2Controller,view3Controller, nil]; 
      [self.view addSubview:myTabBarController.view];    
      myTabBarController.selectedIndex=1;
  }
  </code></pre>