Share via


UIViewController.ShouldAutorotateToInterfaceOrientation Method

Definition

[Foundation.Export("shouldAutorotateToInterfaceOrientation:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldAutorotateToInterfaceOrientation(UIKit.UIInterfaceOrientation toInterfaceOrientation);
[<Foundation.Export("shouldAutorotateToInterfaceOrientation:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldAutorotateToInterfaceOrientation : UIKit.UIInterfaceOrientation -> bool
override this.ShouldAutorotateToInterfaceOrientation : UIKit.UIInterfaceOrientation -> bool

Parameters

toInterfaceOrientation
UIInterfaceOrientation

Returns

Attributes

Applies to