UIDevice.GeneratesDeviceOrientationNotifications Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.