What is the ideal distance between labels? It depends on styles for both of them and the dynamic type size, right? You wouldn't want to have the same distance for small and large text sizes. We can configure a standard distance between baselines.

There is a piece of text composed of a title and some body text. One of them has the large text size, the default one. The other one has the AX5 text size configured. There is a line showing a constraint between the first baseline of the body and the last baseline of the title. The code configures a system spacing between them so it dynamically adapts to any configuration. That is a better solution than configuring a constant vertical space between labels, which wouldn't look good for all text sizes.

You may also find interesting...

There is an Environment Overrides panel in the toolbar on top of Xcode's Debug Area. It allows you to select some of the most common accessibility options and Dynamic Type sizes, like in the Accessibility Inspector, plus select dark/light mode.

Too much data can overwhelm users. Very little is an incomplete experience. It is hard to find a balance on verbosity and the users may have different preferences. To help with this issue, the AXCustomContent APIs let you mark data as optional.

@BeMyEyes, founded by @hjwiberg, enables people who are blind and low vision to identify objects by pairing them with volunteers from around the world using their camera. Winner of an Apple Design Award 2021 for Social Impact.

Created in Swift with Ignite.

Supporting Swift for Swifts