How to determine UINavigationBar custom view text/shadow color for different styles in UISplitViewCo

Posted by Cal on Stack Overflow See other posts from Stack Overflow or by Cal
Published on 2010-05-04T21:22:53Z Indexed on 2010/05/04 21:28 UTC
Read the original article Hit count: 403

I have a splitview with a pop over master view using UINavigationController. The problem is I have some custom text views in the header of the nav controller and when it switches to the pop-over view the style of the nav bar changes. This makes the colors of the text clash since they are no longer using the correct settings for the new navbar style.

How do you determine the proper default text colors for a given navigation bar (style)?

The issue is because I'm using a split view in the iPad but you should be able to determine the proper colors for an iPhone nav bar too.

© Stack Overflow or respective owner

Related posts about uinavigationbar

Related posts about uisplitviewcontroller