bryanjclark
bryanjclark

Reputation: 6434

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?

Upvotes: 12

Views: 2674

Answers (2)

Vojce kushevski
Vojce kushevski

Reputation: 593

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.

Upvotes: 9

phillfarrugia
phillfarrugia

Reputation: 654

You're manually changing the title on the Model Interface Controller from 'Close' to 'Modal View'. Usually it would display 'Close' and I believe the Tint Colour might only apply to wherever your App's Executable Name is displayed.

I might be wrong, and I understand your confusion. Try filing a bug report for this issue or raising it in the WatchKit Developer Forums?

Upvotes: 0

Related Questions