public override void WillRotate(UIInterfaceOrientation toInterfaceOrientation, double duration) { Platform.Orientation = toInterfaceOrientation; }