Playbook Documentation

Enumeration Snapshot​Device.​Orientation

public enum Orientation  

Represents the orientation of a device.

Member Of

SnapshotDevice

The device representation for simulating environments of each device such as size, orientation, safe area, trait collection, or dark mode appearance.

Enumeration Cases

portrait

case portrait

Device oriented vertically.

landscape

case landscape

Device oriented horizontally.