我知道如何从 Storyboard 设置项目的全局色调。但是如何以编程方式设置色调?
Apple 的文档说:
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.
但它也可以通过编程方式完成吗?
最佳答案
不幸的是,目前无法以编程方式执行此操作。我建议你打开一个增强radar在 Apple 错误报告系统中。
关于ios - Watchkit:以编程方式设置全局色调,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29054722/