Advertisement
AsifNewaz

Export Size

Dec 4th, 2022 (edited)
839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  if ([platform isEqualToString:@"iPhone7,1"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 6 Plus";}
  2.         if ([platform isEqualToString:@"iPhone8,1"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 6s";}
  3.         if ([platform isEqualToString:@"iPhone8,2"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 6s Plus";}
  4.         if ([platform isEqualToString:@"iPhone8,4"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone SE";}
  5.         if ([platform isEqualToString:@"iPhone9,1"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 7";}
  6.         if ([platform isEqualToString:@"iPhone9,2"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 7 Plus";}
  7.         if ([platform isEqualToString:@"iPhone9,3"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 7";}
  8.         if ([platform isEqualToString:@"iPhone9,4"])  { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 7 Plus";}
  9.         if ([platform isEqualToString:@"iPhone10,1"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 8";}
  10.         if ([platform isEqualToString:@"iPhone10,2"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone 8 Plus";}
  11.        
  12.         if ([platform isEqualToString:@"iPhone10,3"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone X";
  13.         if ([platform isEqualToString:@"iPhone10,6"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone X";
  14.         if ([platform isEqualToString:@"iPhone11,2"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone XS";
  15.         if ([platform isEqualToString:@"iPhone11,4"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone XS Max";
  16.         if ([platform isEqualToString:@"iPhone11,6"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone XS Max";
  17.         if ([platform isEqualToString:@"iPhone11,8"]) { if(totalImagecount <= 100) {maxExportThreshold = 960 ;} else { maxExportThreshold = 960 ; } }//return @"iPhone XR";
  18.        
  19.         if ([platform isEqualToString:@"iPhone12,1"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 11";
  20.         if ([platform isEqualToString:@"iPhone12,3"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 11 Pro";
  21.         if ([platform isEqualToString:@"iPhone12,5"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 11 Pro Max";
  22.        
  23.         if ([platform isEqualToString:@"iPhone13,1"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 12 mini";
  24.         if ([platform isEqualToString:@"iPhone13,2"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 12";
  25.         if ([platform isEqualToString:@"iPhone13,3"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 12 Pro";
  26.         if ([platform isEqualToString:@"iPhone13,4"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 12 Pro Max";
  27.        
  28.         if ([platform isEqualToString:@"iPhone14,4"]) { if(totalImagecount <= 100) {maxExportThreshold = 1480 ;} else { maxExportThreshold = 1240 ; } }//return @"iPhone 13 mini";
  29.         if ([platform isEqualToString:@"iPhone14,5"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 13";
  30.         if ([platform isEqualToString:@"iPhone14,2"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 13 Pro";
  31.         if ([platform isEqualToString:@"iPhone14,3"]) { if(totalImagecount <= 100) {maxExportThreshold = 1920 ;} else { maxExportThreshold = 1440 ; } }//return @"iPhone 13 Pro Max";
  32.        
  33.         if ([platform isEqualToString:@"iPhone14,7"]) { if(totalImagecount <= 100) {maxExportThreshold = 1480 ;} else { maxExportThreshold = 1240 ; } }//return @"iPhone 14";
  34.         if ([platform isEqualToString:@"iPhone14,8"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 14 Plus";
  35.         if ([platform isEqualToString:@"iPhone15,2"]) { if(totalImagecount <= 100) {maxExportThreshold = 1440 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 14 Pro";
  36.         if ([platform isEqualToString:@"iPhone15,3"]) { if(totalImagecount <= 100) {maxExportThreshold = 1920 ;} else { maxExportThreshold = 1280 ; } }//return @"iPhone 14 Pro Max";
  37.        
  38.         //    if ([platform isEqualToString:@"iPad1,1"])      { maxExportThreshold = 1920 ; } //return @"iPad";}
  39.         //    if ([platform isEqualToString:@"iPad2,1"])      { maxExportThreshold = 1920 ; } //return @"iPad 2 (WiFi)";}
  40.         //    if ([platform isEqualToString:@"iPad2,2"])      { maxExportThreshold = 1920 ; } //return @"iPad 2 (GSM)";}
  41.         //    if ([platform isEqualToString:@"iPad2,3"])      { maxExportThreshold = 1920 ; } //return @"iPad 2 (CDMA)";}
  42.         //    if ([platform isEqualToString:@"iPad2,4"])      { maxExportThreshold = 1920 ; } //return @"iPad 2 (WiFi)";}
  43.         //    if ([platform isEqualToString:@"iPad2,5"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini (WiFi)";}
  44.         //    if ([platform isEqualToString:@"iPad2,6"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini (GSM)";}
  45.         //    if ([platform isEqualToString:@"iPad2,7"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini (CDMA)";}
  46.         //    if ([platform isEqualToString:@"iPad3,1"])      { maxExportThreshold = 1920 ; } //return @"iPad 3 (WiFi)";}
  47.         //    if ([platform isEqualToString:@"iPad3,2"])      { maxExportThreshold = 1920 ; } //return @"iPad 3 (CDMA)";}
  48.         //    if ([platform isEqualToString:@"iPad3,3"])      { maxExportThreshold = 1920 ; } //return @"iPad 3 (GSM)";}
  49.         //    if ([platform isEqualToString:@"iPad3,4"])      { maxExportThreshold = 1920 ; } //return @"iPad 4 (WiFi)";}
  50.         //    if ([platform isEqualToString:@"iPad3,5"])      { maxExportThreshold = 1920 ; } //return @"iPad 4 (GSM)";}
  51.         //    if ([platform isEqualToString:@"iPad3,6"])      { maxExportThreshold = 1920 ; } //return @"iPad 4 (CDMA)";}
  52.         //    if ([platform isEqualToString:@"iPad4,1"])      { maxExportThreshold = 1920 ; } //return @"iPad Air (WiFi)";}
  53.         //    if ([platform isEqualToString:@"iPad4,2"])      { maxExportThreshold = 1920 ; } //return @"iPad Air (GSM)";}
  54.         //    if ([platform isEqualToString:@"iPad4,3"])      { maxExportThreshold = 1920 ; } //return @"iPad Air (CDMA)";}
  55.         //    if ([platform isEqualToString:@"iPad4,4"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 2 (WiFi)";}
  56.         //    if ([platform isEqualToString:@"iPad4,5"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 2 (Cellular)";}
  57.         //    if ([platform isEqualToString:@"iPad4,6"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 2 (Cellular)";}
  58.         //    if ([platform isEqualToString:@"iPad4,7"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 3 (WiFi)";}
  59.         //    if ([platform isEqualToString:@"iPad4,8"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 3 (Cellular)";}
  60.         //    if ([platform isEqualToString:@"iPad4,9"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 3 (Cellular)";}
  61.         //    if ([platform isEqualToString:@"iPad5,1"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 4 (WiFi)";}
  62.         //    if ([platform isEqualToString:@"iPad5,2"])      { maxExportThreshold = 1920 ; } //return @"iPad Mini 4 (Cellular)";}
  63.         //    if ([platform isEqualToString:@"iPad5,3"])      { maxExportThreshold = 1920 ; } //return @"iPad Air 2 (WiFi)";}
  64.         //    if ([platform isEqualToString:@"iPad5,4"])      { maxExportThreshold = 1920 ; } //return @"iPad Air 2 (Cellular)";}
  65.         //    if ([platform isEqualToString:@"iPad6,3"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 9.7-inch (WiFi)";}
  66.         //    if ([platform isEqualToString:@"iPad6,4"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 9.7-inch (Cellular)";}
  67.         //    if ([platform isEqualToString:@"iPad6,7"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 12.9-inch (WiFi)";}
  68.         //    if ([platform isEqualToString:@"iPad6,8"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 12.9-inch (Cellular)";}
  69.         //    if ([platform isEqualToString:@"iPad6,11"])     { maxExportThreshold = 1920 ; } //return @"iPad 5 (WiFi)";}
  70.         //    if ([platform isEqualToString:@"iPad6,12"])     { maxExportThreshold = 1920 ; } //return @"iPad 5 (Cellular)";}
  71.         //    if ([platform isEqualToString:@"iPad7,1"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 12.9-inch (WiFi)";}
  72.         //    if ([platform isEqualToString:@"iPad7,2"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 12.9-inch (Cellular)";}
  73.         //    if ([platform isEqualToString:@"iPad7,3"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 10.5-inch (WiFi)";}
  74.         //    if ([platform isEqualToString:@"iPad7,4"])      { maxExportThreshold = 1920 ; } //return @"iPad Pro 10.5-inch (Cellular)";}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement