Skip to content

Commit

Permalink
[iAppInfos] update with 2 new iPad models
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerôme Morissard authored and Jerôme Morissard committed Mar 11, 2014
1 parent b79b941 commit f7d64fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion iAppInfos/iAppInfos/iAppInfos/UIDevice+iAppInfos.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
NSString * const UIDeviceModeliPadMiniRetina2G_Cellular = @"iPad mini 2G Retina (Cellular)";
NSString * const UIDeviceModeliPadAir_Wifi = @"iPad Air (WiFi)";
NSString * const UIDeviceModeliPadAir_Cellular = @"iPad Air (Cellular)";
NSString * const UIDeviceModeliPadAir_NEW43 = @"iPad Air (China Mobile? 4G?)";
NSString * const UIDeviceModeliPadAir_NEW46 = @"iPad Air (China Mobile? 4G?)";

NSString * const UIDeviceModelSimulatorI386 = @"iPhone Simulator (i386)";
NSString * const UIDeviceModelSimulatorX86_64 = @"iPhone Simulator (x86_64)";
Expand Down Expand Up @@ -111,7 +113,8 @@ + (NSString *)jmo_modelName
if ([systInfo isEqualToString:@"iPad4,5"]) return UIDeviceModeliPadMiniRetina2G_Cellular;
if ([systInfo isEqualToString:@"iPad4,1"]) return UIDeviceModeliPadAir_Wifi;
if ([systInfo isEqualToString:@"iPad4,2"]) return UIDeviceModeliPadAir_Cellular;

if ([systInfo isEqualToString:@"iPad4,3"]) return UIDeviceModeliPadAir_NEW43;
if ([systInfo isEqualToString:@"iPad4,6"]) return UIDeviceModeliPadAir_NEW46;
if ([systInfo isEqualToString:@"i386"]) return UIDeviceModelSimulator;
if ([systInfo isEqualToString:@"x86_64"]) return UIDeviceModelSimulator;

Expand Down

0 comments on commit f7d64fb

Please sign in to comment.