tvostvos9.1

Is there a Unique Identifier anywhere in TVOS I can use?


In developing client/server (TVML/TVJS) I would like to pass a unique identifier to my server as a key to use in a multi-tenet DB.

Is there any identifying information I can access? I checked UIKit -> UIDevice but it does not contain any unique property.

Thanks


Solution

  • You can probably use the UIDevice's identifierForVendor:

    https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIDevice_Class/#//apple_ref/occ/instp/UIDevice/identifierForVendor