title: Objective C - How to Create a Scrollable tab bar with multiple tabs in iOS
body: <ol>
  <li><strong>In programmatically, I created dynamic tabs to below code.</strong></li>
  </ol>
  
  <p>NSMutableArray *dataArray=[[NSMutableArray alloc] init];</p>
  
  <pre><code>  UIStoryboard *storyboard=[UIStoryboard storyboardWithName:@"Main"
              bundle:nil];
    BasicIn *viewController1=[storyboard instantiateViewControllerWithIdentifier:@"BasicInfo"];
    viewController1.tabBarItem.image=[UIImage imageNamed:@"contactTab.png"];
    viewController1.tabBarItem.title=@"Basic Info";
    [dataArray addObject: viewController1];
  
    UIStoryboard *storyboard1=[UIStoryboard storyboardWithName:@"Main"
              bundle:nil];
    AddImageVC *viewController2=[storyboard1 instantiateViewControllerWithIdentifier:@"AddImageVC"];
    viewController2.tabBarItem.image=[UIImage imageNamed:@"planTab.png"];
    viewController2.tabBarItem.title=@"Images";
    [dataArray addObject:viewController2];
  
     UITabBarController  *myTabBarController = [[UITabBarController alloc] init];
     self.myTabBarController.viewControllers =dataArray;
     [self.view addSubview:[self.myTabBarController view]];
  
      UIColor *appTintColor=[UIColor colorWithRed:19.0/255 green:89.0/255 blue:234.0/255 alpha:1.0];
  
      [[UITabBarItem appearance] setTitleTextAttributes:@{NSFontAttributeName : [UIFont
                                                                                     fontWithName:@"HelveticaNeue-Bold" size:10.0f],
                                                              NSForegroundColorAttributeName : appTintColor
                                                              }forState:UIControlStateSelected];        
  
  
  Now It`s created a normal tab bar function.you can create dynamic tabs in tab bar controller with this code, without using any 3 party framework.
  </code></pre>