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:
The tint:
alt text http://img6.imageshack.us/img6/2650/tint.png
When displayed in the popover:
alt text http://img707.imageshack.us/img707/9725/screwedup.png
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:
Clearing the tint before showing the popover works:
alt text http://img38.imageshack.us/img38/3237/betterfq.png
But on the way back the buttons are left in an inconsistent state:
alt text http://img802.imageshack.us/img802/1937/inconsistent.png
Calling setNeedsDisplay
etc. does not work.
Surely there's an easier way?
EDIT:
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).