UIKit.UIViewController.DidRotate Method
Called after the UI has rotated.

Syntax

[Foundation.Export("didRotateFromInterfaceOrientation:")]
[ObjCRuntime.Availability(Deprecated=ObjCRuntime.Platform.iOS_8_0, Message="Starting with iOS 8, you should use Adaptive View Controllers instead")]
public virtual void DidRotate (UIInterfaceOrientation fromInterfaceOrientation)

Parameters

fromInterfaceOrientation
The prior orientation.

Remarks

The application developer can override this method to perform rotation logic beyond what is provided by auto-rotation, for instance, recalculating expensive drawing parameters, modifying and restarting media playback, etc.

When this method is called, the UIViewController.InterfaceOrientation property has already been set to the new UIKit.UIInterfaceOrientation.

Requirements

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