How to get unique id in iOS device?

后端 未结 6 1059
隐瞒了意图╮
隐瞒了意图╮ 2020-11-27 02:42

I have used mac address to identify iOS devices in server side. When run my application with iOS 7 unable to retrieve the correct mac address. Alternately i used

         


        
6条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-27 03:21

    Getting Device Id in Swift 3.x

    let deviceId = UIDevice.current.identifierForVendor?.uuidString
    

提交回复
热议问题