Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Watchkit: Set global tint programmatically

I know how to set the global tint of the project from Storyboard. But how do I set the tint programmatically?

Apple's documentation goes as far to say:

Every WatchKit app has an associated key color, which is applied to the >following UI elements:

-The title string in the status bar

-The app name in short look notifications

An app’s key color is stored in the Global Tint property of the app’s storyboard. To access this property, select your storyboard and display the File inspector. Select one of several preexisting colors from the popup menu or use the color picker to specify a custom color.

But can it be done programmatically too?

enter image description here

like image 222
Andrew Davis Avatar asked Mar 14 '15 21:03

Andrew Davis


1 Answers

Unfortunately there is no way to do it programmatically at this time. I would suggest you open an enhancement radar in the Apple bug report system.

like image 168
cnoon Avatar answered Nov 05 '22 18:11

cnoon