简体   繁体   English

WatchKit:仅更改一个接口控制器标题颜色

[英]WatchKit: Change only one Interface Controller title color

Right now I only know one way to change the title color for an interface controller and it is changing it with global tint in storyboard. 现在我只知道一种方法来改变接口控制器的标题颜色,它正在故事板中用全局色调来改变它。

在此输入图像描述

However, this changes ever interface title color. 但是,这会改变界面标题颜色。 How do I change just one interface controller title color? 如何只更改一个接口控制器标题颜色? Any suggestions or tips is appreciated. 任何建议或提示表示赞赏。

Unfortunately there is no way to do it programmatically at this time. 不幸的是,此时无法以编程方式执行此操作。 So, it means that you can not change it on run time. 因此,这意味着您无法在运行时更改它。

Whatever you can do, you can find the answer on the Watch App Programming Guide . 无论您做什么,都可以在Watch App编程指南中找到答案。 We have to admit that there are so many limitations on this WatchKit version. 我们不得不承认这个WatchKit版本有很多限制。

https://developer.apple.com/library/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/ https://developer.apple.com/library/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM