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级轮换相关方法。 应用程序开发人员应调用其子 UIViewController级的 WillRotate(UIInterfaceOrientation, Double)WillAnimateRotation(UIInterfaceOrientation, Double)DidRotate(UIInterfaceOrientation)

适用于