Get serial number of device on iOS 8

前端 未结 4 1711
闹比i
闹比i 2021-02-15 00:05

For an in-house application, we were using the following code UIDevice+serialNumber to get the device serial number. However, it seems that with iOS 8, the registry key \"IOPlat

4条回答
  •  太阳男子
    2021-02-15 00:21

    Retrieving the device serial number directly is no longer possible in iOS.

    However, if it's simply for an internal enterprise app, something the company I work for is going to implement is this:

    During device configuration, copy the serial number and set the device name as the serial number.

    Then use Apple's UIDevice API to retrieve the device name.

提交回复
热议问题