Determine device (iPhone, iPod Touch) with iOS

后端 未结 30 1773
礼貌的吻别
礼貌的吻别 2020-11-21 11:29

Is there a way to determine the device running an application. I want to distinguish between iPhone and iPod Touch, if possible.

30条回答
  •  逝去的感伤
    2020-11-21 12:01

    I've created an extension that lets you to have 3 levels of identification:

    1. type of device
    2. type of iPhone/iPad by inch
    3. model of device

    It updates with last iOS devices

    UIDeviceDetector

提交回复
热议问题