Modifica

Condividi tramite


UIDevice.GeneratesDeviceOrientationNotifications Property

Definition

Determines whether device orientation notifications are posted.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool GeneratesDeviceOrientationNotifications { [Foundation.Export("isGeneratingDeviceOrientationNotifications")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.GeneratesDeviceOrientationNotifications : bool

Property Value

The default value is based on the device hardware.

Attributes

Remarks

Note that if the hardware supports orientation notifications, this value will be true even if the user has locked the display orientation of the device.

This can be used from a background thread.

Applies to