UIViewController.ShouldAutorotate メソッド

定義

自動回転のオンとオフを切り替えます。

[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

戻り値

trueUIViewController 自動回転する場合は 。 false それ以外の場合は 。

属性

適用対象