How to test different font sizes (dynamic type) on

2019-05-31 11:59发布

问题:

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.