fix: size alloc issue when UpSideDown in iPhone
This commit is contained in:
@ -93,6 +93,10 @@ namespace Pixiview.iOS.Renderers
|
||||
var landscape =
|
||||
lastOrientation == UIDeviceOrientation.LandscapeLeft ||
|
||||
lastOrientation == UIDeviceOrientation.LandscapeRight;
|
||||
if (UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone)
|
||||
{
|
||||
landscape |= lastOrientation == UIDeviceOrientation.PortraitUpsideDown;
|
||||
}
|
||||
page.OnOrientationChanged(landscape);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user