Search code examples
ioswatchkit

How can I set the nav title's tint color for a modal interface in WatchKit?


In WatchKit, I know that I can set the "Global Tint" value in my storyboard file to adjust the navigation title's text color in my interface controllers.

However, whenever I present a modal interface controller in my application, I'm noticing that the InterfaceController's title shows up as white, not the global tint color.

Here's my tint color setting on the storyboard file:

enter image description here

Here's an example of the issue I'm finding:

no tint on modal nav

How can I get the title of a modal to use the global tint color?


Solution

  • With the current SDK, you are not able to change the title color of Modal screens. The title will always be white.

    The global tint color does not apply to Interface Controllers presented modally.