title: UIToolbar precise size
body: <p>I'm trying to customize my NavigationBar with the help of a toolbar.
  I've implemented it programmatically as follows:</p>
  
  <pre><code>UIToolbar* tools = [[UIToolbar alloc] initWithFrame: CGRectMake(0, 0, 100, 44.01)];
  </code></pre>
  
  <p>and then I added it to my NavigationBar. The problem is that I have this ugly effect on the borders:</p>
  
  <p><img src="https://i.stack.imgur.com/6hASp.png" alt="navigationbar + toolbar"></p>
  
  <p>I've tried to change the y and the height values, with no results.
  Do you have any ideas to avoid this?</p>
  
  <p>Thanks in advance, yassa</p>