UIViewController.ShouldAutorotate Method
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.
Turns auto-rotation on or off.
C#
[Foundation.Export("shouldAutorotate")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldAutorotate();
abstract member ShouldAutorotate : unit -> bool
override this.ShouldAutorotate : unit -> bool
true
if the UIViewController should auto-rotate, false
otherwise.
- Attributes
Producto | Versiones |
---|---|
Xamarin iOS SDK | 12 |