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.

There is a panel with options called, Environment Overrides. It can be found in the toolbar on top of the Debug Area, the area with the variables view, and the console. It contains three sections: appearance, where you can select light or dark mode; dynamic type to change the text size, and accessibility, with some of the most common options (increase contrast, reduce transparency, bold text, reduce motion, on/off labels, button shapes, grayscale, smart invert, differentiate without color).

You may also find interesting...

I wish the adjustsFontForContentSizeCategory was true by default. Instead, you need to configure it that way so elements adjust their font size as the content size category (dynamic type) changes when a preferred font is used for a given style.

If you use Interface Builder to build your app’s layout, there are some basic accessibility attributes that can be configured from there. They can be found in the Identity Inspector in the right-side panel in Xcode.

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.

Created in Swift with Ignite.

Supporting Swift for Swifts