- fromInterfaceOrientation
- The prior orientation.
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.