我知道如何从Storyboard设置项目的全局色调.但是如何编程色调?
苹果的文档可以说是很多:
Every WatchKit app has an associated key color,which is applied to@H_404_6@ 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@H_404_6@ storyboard. To access this property,select your storyboard and@H_404_6@ display the File inspector. Select one of several preexisting colors@H_404_6@ from the popup menu or use the color picker to specify a custom color.
但是可以编程吗
解决方法
不幸的是,目前没有办法以编程方式执行.我建议您在Apple bug报告系统中打开一个增强版
radar.