Szerkesztés

Megosztás a következőn keresztül:


UIViewController.DidAnimateFirstHalfOfRotation(UIInterfaceOrientation) Method

Definition

Deprecated function called at end of first-part of two-step rotation animations.

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

Parameters

toInterfaceOrientation
UIInterfaceOrientation

The UIInterfaceOrientation at which the device will be on completion.

Attributes

Remarks

Applications should override the WillAnimateRotation(UIInterfaceOrientation, Double) method rather than this function, which Apple deprecated in iOS 5.0.

This function is called after the first half of a two-step rotation animation. Application developers can adjust views before the second-step occurs.

Applies to

See also

  • <xref:UIKit.WillAnimateRotation>
  • <xref:UIKit.WillAnimateFirstHalfOfRotation>
  • <xref:UIKit.WillAnimateSecondHalfOfRotation>