gpt4 book ai didi

ios - watchOS 通知可以显示自定义嵌入字体吗

转载 作者:行者123 更新时间:2023-11-30 13:00:58 26 4
gpt4 key购买 nike

在 watchOS 中,如果应用程序中嵌入了自定义字体,则该字体肯定可以在 WkInterfaceLabelWKInterfaceButton 等上使用。

该字体适用于 watchOS 的通知 View 吗?

如果没有,是否有任何可能的方法,例如我们可以在 iOS 设备上安装字体配置文件,以及我们可以使用自定义字体进行通知 View 吗?

最佳答案

除了您的主 WatchKit 应用程序之外,任何地方都确实不支持自定义字体。

以下是文本形式Apple Documentation :

使用自定义字体:

By default, the Watch app interface, glance interfaces, and notification interfaces use the system font for displaying text. Your Watch app interface may also use custom fonts (glances and notifications can only use the system font). To use custom fonts, you must install the fonts into both the Watch app bundle and the WatchKit extension bundle, as shown below:

希望这对你有帮助!!!

关于ios - watchOS 通知可以显示自定义嵌入字体吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39913001/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com