Structure

PreviewDevice

The simulator device that runs a preview.

Declaration

struct PreviewDevice

Overview

Refer to a preview device by its name as shown Xcode’s run destination menu, like “iPhone X”, or using a model number, like “iPad8,1”.

See Also

Preview Customization

enum PreviewPlatform

The operating system on which to run the preview.

enum PreviewLayout

The size constraint for a preview.