From d22945e3116867ad2da3a2f75613c3521f1d0bfc Mon Sep 17 00:00:00 2001 From: Nabil Chatbi Date: Tue, 12 Apr 2016 10:48:18 +0200 Subject: [PATCH] New iPad Pro --- UIDeviceExt/UIDeviceExt/UIDeviceExt.m | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/UIDeviceExt/UIDeviceExt/UIDeviceExt.m b/UIDeviceExt/UIDeviceExt/UIDeviceExt.m index 49c529d..68d5f6d 100644 --- a/UIDeviceExt/UIDeviceExt/UIDeviceExt.m +++ b/UIDeviceExt/UIDeviceExt/UIDeviceExt.m @@ -37,7 +37,10 @@ +(void)initialize { @"iPad3,1", @"iPad3,2", @"iPad3,3", // iPad 3 @"iPad3,4", @"iPad3,5", @"iPad3,6", // iPad 4 @"iPad4,1", @"iPad4,2", @"iPad4,3", // iPad Air - @"iPad5,3", @"iPad5,4"], // iPad Air 2 + @"iPad5,3", @"iPad5,4" , // iPad Air 2 + @"iPad6,7", @"iPad6,8", // iPad Pro 12.9 + @"iPad6,3", @"iPad6,4" // iPad Pro 9.7 + ], @"pointsPerCentimeter": @52.0f, @"pointsPerInch": @132.0f}, @@ -64,7 +67,10 @@ +(void)initialize { @"iPad4,4", @"iPad4,5", @"iPad4,6", // iPad Mini Retina (2) @"iPad4,7", @"iPad4,8", @"iPad4,9"], // iPad Mini 3 @"pointsPerCentimeter": @128.0f, - @"pointsPerInch": @326.0f} + @"pointsPerInch": @326.0f}, + + + ]; for (id deviceClass in iDevices)