次の方法で共有


UIViewController.ShouldAutomaticallyForwardRotationMethods プロパティ

定義

回転メソッドを子 UIViewControllerに転送するかどうかを指定します。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use Adaptive View Controllers instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldAutomaticallyForwardRotationMethods { [Foundation.Export("shouldAutomaticallyForwardRotationMethods")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, "Use Adaptive View Controllers instead.")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.ShouldAutomaticallyForwardRotationMethods : bool

プロパティ値

既定値は true です。

属性

注釈

このメンバーをオーバーライドし、 に設定する false アプリケーション開発者は、子 UIViewControllerのローテーション関連のメソッドを制御します。 アプリケーション開発者は、子 UIViewControllerWillRotate(UIInterfaceOrientation, Double)、、 WillAnimateRotation(UIInterfaceOrientation, Double)および DidRotate(UIInterfaceOrientation)を呼び出す必要があります。

適用対象