title: Using a tint on a split view controller's master pane
body: <p>I have a navigation controller in the master pane of a split view controller. It has a tint set on the navigation bar. When this navigation controller is displayed in the split view's popover, the popover does not show the navigation items in the black popover-style but instead the layout is kind of screwed up and it uses the tint that was set before:</p>
  
  <p>The tint:</p>
  
  <p><a href="http://img6.imageshack.us/img6/2650/tint.png" rel="nofollow noreferrer">alt text http://img6.imageshack.us/img6/2650/tint.png</a></p>
  
  <p>When displayed in the popover:</p>
  
  <p><a href="http://img707.imageshack.us/img707/9725/screwedup.png" rel="nofollow noreferrer">alt text http://img707.imageshack.us/img707/9725/screwedup.png</a></p>
  
  <p>I tried handling willPresentViewController etc. to clear the tint before displaying in the popover, and restoring the tint when going back. This almost works but when transitioning back to landscape mode the standard iPad tint is visible during the animation before changing back, and the tint on some of the navigation items is not set back correctly:</p>
  
  <p>Clearing the tint before showing the popover works:</p>
  
  <p><a href="http://img38.imageshack.us/img38/3237/betterfq.png" rel="nofollow noreferrer">alt text http://img38.imageshack.us/img38/3237/betterfq.png</a></p>
  
  <p>But on the way back the buttons are left in an inconsistent state:</p>
  
  <p><a href="http://img802.imageshack.us/img802/1937/inconsistent.png" rel="nofollow noreferrer">alt text http://img802.imageshack.us/img802/1937/inconsistent.png</a></p>
  
  <p>Calling <code>setNeedsDisplay</code> etc. does not work.</p>
  
  <p>Surely there's an easier way?</p>
  
  <p>EDIT:</p>
  
  <p>Apple has responded and this is a bug, filed as 8276014 on bugreport.apple.com. It should be fixed in 4.2 (from beta 2 onwards).</p>