다음을 통해 공유


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)를 호출해야 합니다.

적용 대상