CB-8351 ios: Stop using deprecated IsIpad macro
diff --git a/src/ios/CDVSplashScreen.m b/src/ios/CDVSplashScreen.m
index f65a501..c28ae2f 100644
--- a/src/ios/CDVSplashScreen.m
+++ b/src/ios/CDVSplashScreen.m
@@ -234,7 +234,8 @@
* landscape. In this case the image must be rotated in order to appear
* correctly.
*/
- if (UIInterfaceOrientationIsLandscape(orientation) && !CDV_IsIPad()) {
+ BOOL isIPad = [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad;
+ if (UIInterfaceOrientationIsLandscape(orientation) && !isIPad) {
imgTransform = CGAffineTransformMakeRotation(M_PI / 2);
imgBounds.size = CGSizeMake(imgBounds.size.height, imgBounds.size.width);
}