UIDevice uniqueIdentifier deprecated - What to do now?

后端 未结 30 2265
日久生厌
日久生厌 2020-11-21 06:07

It has just come to light that the UIDevice uniqueIdentifier property is deprecated in iOS 5 and unavailable in iOS 7 and above. No alternative method or pr

30条回答
  •  时光取名叫无心
    2020-11-21 06:31

    You can use your alternative for Apple UDID already. Kind guy gekitz wrote category on UIDevice which will generate some kind of UDID based on device mac-address and bundle identifier.

    You can find code on github

提交回复
热议问题