aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2014-10-20 19:12:09 +0200
committerMemphiz <memphis@machzwo.de>2014-10-26 18:15:23 +0100
commit6b9389029b603440c433054d963ceca2622b4b58 (patch)
treeb26989a3ea0392792ac90e52e43139c1c2672a7b
parentdc6e16f830aef65aa75937f4308fda0e8cae4aad (diff)
[ios] - add support for iPad Air 2 and iPad mini 3
-rw-r--r--xbmc/osx/DarwinUtils.mm9
1 files changed, 9 insertions, 0 deletions
diff --git a/xbmc/osx/DarwinUtils.mm b/xbmc/osx/DarwinUtils.mm
index 42062647d9..f96f0b9741 100644
--- a/xbmc/osx/DarwinUtils.mm
+++ b/xbmc/osx/DarwinUtils.mm
@@ -91,6 +91,10 @@ enum iosPlatform
iPadMini2Wifi,
iPadMini2Cellular,
iPhone6,
+ iPadAir2Wifi,
+ iPadAir2Cellular,
+ iPadMini3Wifi,
+ iPadMini3Cellular,
iPhone6Plus, //from here on list devices with retina support which have scale == 3.0
};
@@ -147,6 +151,11 @@ enum iosPlatform getIosPlatform()
if ([platform isEqualToString:@"iPad4,2"]) return iPadAirCellular;
if ([platform isEqualToString:@"iPad4,4"]) return iPadMini2Wifi;
if ([platform isEqualToString:@"iPad4,5"]) return iPadMini2Cellular;
+ if ([platform isEqualToString:@"iPad4,7"]) return iPadMini3Wifi;
+ if ([platform isEqualToString:@"iPad4,8"]) return iPadMini3Cellular;
+ if ([platform isEqualToString:@"iPad4,9"]) return iPadMini3Cellular;
+ if ([platform isEqualToString:@"iPad5,3"]) return iPadAir2Wifi;
+ if ([platform isEqualToString:@"iPad5,4"]) return iPadAir2Cellular;
if ([platform isEqualToString:@"AppleTV2,1"]) return AppleTV2;
#endif