SyntaxFix
Write A Post
Hire A Developer
Questions
For Swift 3.0 please use below code.
let deviceIdentifier: String = (UIDevice.current.identifierForVendor?.uuidString)! NSLog("output is : %@", deviceIdentifier)