public override void WillRotate(UIInterfaceOrientation toInterfaceOrientation, double duration) { var orientation = toInterfaceOrientation; if (toInterfaceOrientation == UIInterfaceOrientation.PortraitUpsideDown) orientation = UIInterfaceOrientation.Portrait; base.WillRotate(orientation, duration); }