How to get Device UDID in programmatically in iOS7?

前端 未结 10 2253
梦谈多话
梦谈多话 2020-12-04 18:33

How to get device UDID in programatically in iOS7.[[UIDevice currentDevice] uniqueIdentifier] I was used this code This is deprecated iOS7. how to get the devic

10条回答
  •  囚心锁ツ
    2020-12-04 19:04

    In iOS 7, Apple now always returns a fixed value when querying the MAC to specifically thwart the MAC as base for an ID scheme. So you now really should use -[UIDevice identifierForVendor] or create a per-install UUID.

    Check this SO Question.

提交回复
热议问题