CB-10244 Don't rotate the iPhone 6 Plus splash
This commit is contained in:
parent
875ccbf5bc
commit
fa3b665223
@ -318,8 +318,8 @@
|
|||||||
* landscape. In this case the image must be rotated in order to appear
|
* landscape. In this case the image must be rotated in order to appear
|
||||||
* correctly.
|
* correctly.
|
||||||
*/
|
*/
|
||||||
BOOL isIPad = [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad;
|
CDV_iOSDevice device = [self getCurrentDevice];
|
||||||
if (UIInterfaceOrientationIsLandscape(orientation) && !isIPad)
|
if (UIInterfaceOrientationIsLandscape(orientation) && !device.iPhone6Plus && !device.iPad)
|
||||||
{
|
{
|
||||||
imgTransform = CGAffineTransformMakeRotation(M_PI / 2);
|
imgTransform = CGAffineTransformMakeRotation(M_PI / 2);
|
||||||
imgBounds.size = CGSizeMake(imgBounds.size.height, imgBounds.size.width);
|
imgBounds.size = CGSizeMake(imgBounds.size.height, imgBounds.size.width);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user