How to test different font sizes (dynamic type) on the watch?

半世苍凉 提交于 2019-12-08 03:22:32

问题


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?

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.

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


回答1:


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

Sorry mate...

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

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.



来源:https://stackoverflow.com/questions/29426178/how-to-test-different-font-sizes-dynamic-type-on-the-watch

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