UIKit.UIViewController.WillAnimateFirstHalfOfRotation Method
Deprecated method sent during the first half of a rotation. Application developers should instead use UIViewController.WillAnimateRotation.

Syntax

[Foundation.Export("willAnimateFirstHalfOfRotationToInterfaceOrientation:duration:")]
[ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_5_0)]
public virtual void WillAnimateFirstHalfOfRotation (UIInterfaceOrientation toInterfaceOrientation, double duration)

Parameters

toInterfaceOrientation
The new orientation.
duration
The duration of the first half of the rotation animation, in seconds.

Remarks

Two-step rotations are deprecated and application developers should instead use single-step rotations (see UIViewController.WillAnimateRotation ).

When this method is called, the UIViewController.InterfaceOrientation is set to the old orientation.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0