无法在 WatchKit 中设置自定义字体 [英] Not able to set custom fonts in WatchKit

查看:30
本文介绍了无法在 WatchKit 中设置自定义字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试设置 Roboto 字体并已添加为手表套件扩展的目标,但它仍然为零.我们可以在手表套件中设置自定义字体吗.

I am trying to set Roboto font and have added as target for watch kit extension, but it is still coming as nil. Can we set custom fonts in watch kit.

推荐答案

是的,您可以在 WatchKit 中使用自定义字体

Yes, you can use custom fonts in WatchKit

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

这篇关于无法在 WatchKit 中设置自定义字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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