title: UITabBarController background image is not set correctly
body: <p>I am trying to add <code>UITabBarController</code> programmatically. Everything is working fine but I am having two issues. </p>
  
  <ol>
  <li>I am setting tabbar background image but it shows a different image which I dont even have in resources. 
  I am using this image as tabbar background image with a green line above :
  <a href="https://i.stack.imgur.com/oYp8d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oYp8d.png" alt=""></a></li>
  </ol>
  
  <p>But it shows another green line at bottom like this:</p>
  
  <p><a href="https://i.stack.imgur.com/FdPrz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FdPrz.png" alt="enter image description here"></a></p>
  
  <p>Here is the code I am using for this:</p>
  
  <pre><code>[self.myTabBarController.tabBar setBackgroundImage:[UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"tabbar.png" ofType:nil]]];
  </code></pre>
  
  <ol start="2">
  <li><p>Another issue is, I am setting tabbar item images using this code:</p>
  
  <pre><code> MyViewController *myController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
   UINavigationController *myNavController = [[UINavigationController alloc] initWithRootViewController: myController];
   [myNavController.tabBarItem initWithTitle:@"" image:[UIImage imageNamed:@"ads_inactive.png"] selectedImage:[UIImage imageNamed:@"ads_active.png"]];
  </code></pre></li>
  </ol>
  
  <p>Images are set but when i try to add title in <code>MyViewController</code>'s <code>viewDidLoad</code> using this: </p>
  
  <pre><code>self.title = @"My Ads";
  </code></pre>
  
  <p>It shows same title on tabbar item too but I dont want any title there. </p>
  
  <p>How I can fix this issue? 
  Thanks </p>