landscapeLeft
TypeScriptstatic get landscapeLeft(): InterfaceOrientationSwift declarationstatic let landscapeLeft: InterfaceOrientationThe device is in landscape mode, with the top of the device on the left.
struct · iOS 15.0+ · SDK 27.1
struct InterfaceOrientationThe orientation of the interface from the user's perspective. By default, device previews appear right side up, using orientation ``InterfaceOrientation/portrait``. You can change the orientation with a call to the ``View/previewInterfaceOrientation(_:)`` modifier: struct CircleImage_Previews: PreviewProvider { static var previews: some View { CircleImage() .previewInterfaceOrientation(.landscapeRight) } }
static get landscapeLeft(): InterfaceOrientationSwift declarationstatic let landscapeLeft: InterfaceOrientationThe device is in landscape mode, with the top of the device on the left.
static get landscapeRight(): InterfaceOrientationSwift declarationstatic let landscapeRight: InterfaceOrientationThe device is in landscape mode, with the top of the device on the right.
static get portraitUpsideDown(): InterfaceOrientationSwift declarationstatic let portraitUpsideDown: InterfaceOrientationThe device is in portrait mode, but is upside down.
get id(): stringSwift declarationvar id: String { get }The stable identity of the entity associated with this instance.
static get allCases(): Array<InterfaceOrientation>Swift declarationstatic var allCases: [InterfaceOrientation] { get }A collection of all values of this type.
static get portrait(): InterfaceOrientationSwift declarationstatic let portrait: InterfaceOrientationThe device is in portrait mode, with the top of the device on top.
No declarations were skipped in this snapshot.