标签: tvos tvos9.1
在开发客户端/服务器(TVML / TVJS)时,我想将唯一标识符作为密钥传递给我的服务器,以便在多信息数据库中使用。
我可以访问任何识别信息吗?我检查了UIKit -> UIDevice,但它不包含任何唯一属性。
UIKit -> UIDevice
由于
答案 0 :(得分:3)
您可以使用UIDevice的identifierForVendor:
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/#//apple_ref/occ/instp/UIDevice/identifierForVendor