How to get Device UDID in programmatically in iOS7?

前端 未结 10 2242
梦谈多话
梦谈多话 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 18:45

    In Swift you can get the device UUID like this

    let uuid = UIDevice.currentDevice().identifierForVendor.UUIDString
    println(uuid)
    

提交回复
热议问题