SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import AdSupport
  2. import DeviceCheck
  3. class UniqueId {
  4.     func test() {
  5.         print(UIDevice.current.identifierForVendor!.uuidString)
  6.         print(ASIdentifierManager.shared().advertisingIdentifier.uuidString)
  7.         print(DCDevice.current.generateToken(completionHandler: { (data, error) in
  8.             print(data)
  9.         }))
  10.         print(UUID().uuidString)
  11.     }
  12. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top