iPhoneGeneration Manual     Reference     Scripting  
Scripting > Enumerations > iPhoneGeneration
iPhoneGeneration Enumeration

iPhone device generation

Values
iPhone

First generation device

iPhone3G

Second generation

iPhone3GS

Third generation

iPodTouch1Gen

iPod Touch, first generation

iPodTouch2Gen

iPod Touch, second generation

iPodTouch3Gen

iPod Touch, third generation

iPad1Gen

iPad, first generation

iPhone4

Fourth generation

iPodTouch4Gen

iPod Touch, fourth generation

iPad2Gen

iPad, second generation

iPhone4S

Fifth generation

iPad3Gen

iPad, third generation