UIViewController.WillAnimateFirstHalfOfRotation 메서드

정의

회전의 전반부 동안 전송된 사용되지 않는 메서드입니다. 애플리케이션 개발자는 대신 를 사용해야 WillAnimateRotation(UIInterfaceOrientation, Double)합니다.

[Foundation.Export("willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void WillAnimateFirstHalfOfRotation (UIKit.UIInterfaceOrientation toInterfaceOrientation, double duration);
abstract member WillAnimateFirstHalfOfRotation : UIKit.UIInterfaceOrientation * double -> unit
override this.WillAnimateFirstHalfOfRotation : UIKit.UIInterfaceOrientation * double -> unit

매개 변수

toInterfaceOrientation
UIInterfaceOrientation

새 방향입니다.

duration
Double

회전 애니메이션의 처음 절반 기간(초)입니다.

특성

설명

2단계 회전은 더 이상 사용되지 않으며 애플리케이션 개발자는 대신 단일 단계 회전을 사용해야 합니다(참조 WillAnimateRotation(UIInterfaceOrientation, Double) ).

이 메서드가 호출되면 는 InterfaceOrientation 이전 방향으로 설정됩니다.

적용 대상