UIDeviceOrientationExtensions UIDeviceOrientationExtensions Class

Definition

Extension methods for the UIDeviceOrientation class.

public static class UIDeviceOrientationExtensions
type UIDeviceOrientationExtensions = class
Inheritance
UIDeviceOrientationExtensionsUIDeviceOrientationExtensions

Methods

IsFlat(UIDeviceOrientation) IsFlat(UIDeviceOrientation)

Returns true if the device is lying on either its back or face.

IsLandscape(UIDeviceOrientation) IsLandscape(UIDeviceOrientation)

Returns true if one of the long edges of the device is lowest.

IsPortrait(UIDeviceOrientation) IsPortrait(UIDeviceOrientation)

Returns true if one of the short edges is lowest.

Applies to