iPhone.generation
static var generation: iPhoneGeneration;
static iPhoneGeneration generation;
static generation as iPhoneGeneration
Description

The generation of the device. (Read Only)

See iPhoneGeneration enumeration for possible return values.