title: How to add separator between tabbar icon
body: <p>How to add a separator line between each icon for TabBar.</p>
  <pre><code>//TabbarViewController.h
  
      #import &lt;UIKit/UIKit.h&gt;
      @interface TabBarViewController : UITabBarController &lt;UITabBarControllerDelegate&gt;{ }
      @end
  </code></pre>
  <p>//TabbarViewController.m</p>
  <pre><code>- (void)viewDidLoad {
      [super viewDidLoad];
      HomeViewController *HomeViewController = [[HomeViewController alloc] init];
      UploadViewController *UploadViewController = [[UploadViewController alloc] init];
      MapViewController *mapviewController = [[MapViewController alloc]init];
      FavouriteViewController *favouriteViewController = [[FavouriteViewController alloc]init];
      
      HomeViewController.title = @&quot;Home&quot;;
      UploadViewController.title = @&quot;Upload&quot;;
      mapviewController.title = @&quot;Map&quot;;
      favouriteViewController.title = @&quot;Favourite&quot;;
      
      UINavigationController *homeNavCont = [[UINavigationController alloc] initWithRootViewController:HomeViewController];
      UINavigationController *secondNavCont = [[UINavigationController alloc] initWithRootViewController:UploadViewController];
      UINavigationController *thirdNavCont = [[UINavigationController alloc] initWithRootViewController:mapviewController];
      UINavigationController *fourthNavCont = [[UINavigationController alloc] initWithRootViewController:favouriteViewController];
      
      [[homeNavCont   tabBarItem] setImage:[UIImage imageNamed:@“Home32”]];
      [[secondNavCont tabBarItem] setImage:[UIImage imageNamed:@&quot;camera32&quot;]];
      [[thirdNavCont  tabBarItem] setImage:[UIImage imageNamed:@&quot;Navigation32&quot;]];
      [[fourthNavCont tabBarItem] setImage:[UIImage imageNamed:@&quot;Faviourte32&quot;]];
      
      HomeViewController.tabBarItem.selectedImage = [[UIImage imageNamed:@&quot;Home32&quot;] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal ];
          UploadViewController.tabBarItem.selectedImage = [[UIImage imageNamed:@&quot;camera32&quot;] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
      mapviewController.tabBarItem.selectedImage = [[UIImage imageNamed:@&quot;Navigation32&quot;] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal ];
      favouriteViewController.tabBarItem.selectedImage = [[UIImage imageNamed:@&quot;Faviourte32&quot;] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal ];
      self.viewControllers=[NSArray arrayWithObjects:homeNavCont,secondNavCont,thirdNavCont,fourthNavCont,nil];
      self.delegate = self;
      [self setSelectedIndex:0];
  }
  </code></pre>
  <p>Need your advice for adding separator in between icons for tabbar.</p>
  <p><img src="https://i.stack.imgur.com/7rASj.png" alt="TabBar Seperator" /></p>