iPhone.generation Manual     Reference     Scripting  
Scripting > Runtime Classes > iPhone
iPhone.generation

static var generation : iPhoneGeneration

Description

The generation of the device (Read Only)

See iPhoneGeneration enumeration for possible return values.