Device.generation

public static iOS.DeviceGeneration generation;

Description 描述

The generation of the device. (Read Only)

See DeviceGeneration enumeration for possible return values.