如何在手表上测试不同的字体大小(动态类型)? [英] How to test different font sizes (dynamic type) on the watch?

查看:109
本文介绍了如何在手表上测试不同的字体大小(动态类型)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Apple Watch支持动态类型(例如使用正文或脚注等文本样式)。假设我有使用这些自定义文本样式的标签,如何在模拟器上测试它们的行为?

Apple watch supports Dynamic Type (e.g. by using text styles such as body or footnote). Assuming I have labels that use these custom text styles, how can I test their behavior on the simulator?

在iPhone模拟器上,我可以启动设置>常规>大文本并调整滑块以根据不同的字体大小查看我的应用程序的外观。

On an iPhone simulator, I can launch Settings > General > Larger Text and adjust the slider to see how my app looks depending on different font sizes.

我该如何做我在模拟器上运行的Apple Watch应用程序的等效操作?

How can I do the equivalent for my Apple Watch app running on the simulator?

推荐答案

尚无可能。只需将其设置为粗体,然后在情节提要中将其放大一些即可进行测试。

No possibility yet. Just set it to bold and some points larger in your storyboard to test it.

对不起队友...

编辑:我刚刚遇到了这个问题:
https://developer.apple.com/watchkit/

I just ran over this: https://developer.apple.com/watchkit/

在此处下载 Apple Watch设计资源,然后查看指南>指南类型。在那里,您将拥有适用于动态类型的正确字体大小和粗细。

Download the Apple Watch Design Resources there and have a look at Guides > Guide-Type. There you will have the right font sizes and weights for Dynamic Type.

这篇关于如何在手表上测试不同的字体大小(动态类型)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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