If you are using SwiftUI to build your apps, there is a fairly basic but very useful Accessibility Inspector built right there in the Inspectors Panel, on the right side of Xcode.

Content view showing the preview of a SwiftUI interface consisting of a rating component where you can rate something from one to five thumbs up. In the Inspectors panel, there is an Accessibility Inspector. If you make the content view selectable, you can select any time in the preview and it will show some of the basic accessibility attributes for that component in the inspector. In the case of the rating component, the label is

You may also find interesting...

The Accessibility Inspector lets you configure on or off some of the most common accessibility options so you can conveniently observe how your app adopts these options in the simulator or device. You can also quickly select different text sizes.

In UIKit, to create an adjustable component we need to add the adjustable trait and override both accessibilityIncrement() and accessibilityDecrement(). In SwiftUI, everything you need is bundled in the accessibilityAdjustableAction(_:) modifier.

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.

Created in Swift with Ignite.

Supporting Swift for Swifts