Skip to content
Permalink
Browse files
CB-10244 Don't rotate the iPhone 6 Plus splash
  • Loading branch information
daserge committed Dec 22, 2015
1 parent 875ccbf commit fa3b6652238faf6854157b6e646069eb35bb55a5
Showing 1 changed file with 2 additions and 2 deletions.
@@ -318,8 +318,8 @@ - (void)updateBounds
* landscape. In this case the image must be rotated in order to appear
* correctly.
*/
BOOL isIPad = [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad;
if (UIInterfaceOrientationIsLandscape(orientation) && !isIPad)
CDV_iOSDevice device = [self getCurrentDevice];
if (UIInterfaceOrientationIsLandscape(orientation) && !device.iPhone6Plus && !device.iPad)
{
imgTransform = CGAffineTransformMakeRotation(M_PI / 2);
imgBounds.size = CGSizeMake(imgBounds.size.height, imgBounds.size.width);

0 comments on commit fa3b665

Please sign in to comment.