title: What is the correct approach for a custom UIToolBar?
body: <p>Is it better - better in the sense of not getting rejected from the Apple store - when trying to create a custom* UIToolbar to either:</p>
  
  <p><strong>Option A</strong></p>
  
  <ul>
  <li>Add the oversize middle button as a UIButton to the <code>self.navigationController.view</code> <strong>this is key as I'm adding a UIButton to the navigationController which seems to contradict the apple docs</strong></li>
  <li>Use UIToolbar appearance to implement the custom background</li>
  </ul>
  
  <p><strong>Option B</strong></p>
  
  <ul>
  <li>Create a UIToolbar and add it as a subview of the current ViewController in UINavigationController</li>
  <li>Add the UIButton as a subview of the current ViewController in UINavigationController</li>
  <li>Use UIToolBar's method setBackgroundImage to add the custom background</li>
  </ul>
  
  <p>*Custom background, Oversized middle button</p>
  
  <p><strong>This is the shape of the toolbar:</strong></p>
  
  <p><img src="https://i.stack.imgur.com/MyU53.png" alt="enter image description here"></p>
  
  <p>Extra details: This app is for iOS 5.X or greater. It uses UINavigationController. Key challenge is that a section of the app hide/shows the navigationbar depending on the state of the app. </p>
  
  <p>Option A means I don't have to workout where to place the UIToolBar, it's a challenge to work out where to place the UIToolbar because a) if I'm showing or hiding the navigationBar this shifts everything up/down vertically b) iPhone 5 with extra vertical space - I can't use autolayout as I'm support iOS 5 and I haven't really worked out how to use autoresizing masks. I'mu using hard coded "magic" numbers.</p>