Contents

portrait

The device is in portrait mode, with the top of the device on top.

Declaration

@MainActor static var portrait: PreviewTrait<Preview.ViewTraits> { get }

Discussion

This is the same as portrait and is the default orientation if you don’t specify one.

See Also

Getting an orientation