WatchKit 通知标题颜色 [英] WatchKit Notification Title Color

查看:21
本文介绍了WatchKit 通知标题颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以设置应用程序标题的颜色(窗扇上的文字).好像一直固定为白色.

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.

无论是在 xCode 中还是以编程方式,我都找不到自定义应用程序标题颜色的方法.很可能它被固定为白色.但如果有人更改了它,请分享解决方案!

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!

推荐答案

您可以在Storyboard中点击Static Notification的箭头.

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

在属性检查器中,您可以更改标题颜色.

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

这篇关于WatchKit 通知标题颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆