WatchKit Notification Title Color

不想你离开。 提交于 2019-12-23 02:22:20

问题


Is it possible to set the color of the application title (the text that is on a sash). It seems that it is always fixed to white.

In my application I have a light background image with a color that is close to white in the right corner. This makes the name of the app barely readable.

I could not find a way to customize the app title color neither in xCode nor programmatically. It might well be that it is fixed to white. But if anybody changed it, please share the solution!


回答1:


You can click on the arrow of Static Notification in Storyboard.

And in the Attributes Inspector, you can change the Title Color.





回答2:


You can click on the static notification's notification category in the storyboard and change the title text colour from the Attributes Inspector.



来源:https://stackoverflow.com/questions/28064963/watchkit-notification-title-color

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!