Version: 2022.3

Device.generation

切换到手册
public static iOS.DeviceGeneration generation ;

描述

设备世代。(只读)

For information on the possible values, see DeviceGeneration.