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.

iPhone5

iPhone5.

iPodTouch5Gen

iPod Touch, fifth generation.

iPadMini1Gen

iPadMini, first generation.

iPad4Gen

iPad, fourth generation.

iPhoneUnknown

Yet unknown iPhone.

iPadUnknown

Yet unknown iPad.

iPodTouchUnknown

Yet unknown iPodTouch.