How to get device UDID in programatically in iOS7.[[UIDevice currentDevice] uniqueIdentifier] I was used this code This is deprecated iOS7. how to get the devic
[[UIDevice currentDevice] uniqueIdentifier]
In Swift 3.0:
UIDevice.current.identifierForVendor!.uuidString
old version
UIDevice.currentDevice().identifierForVendor
you want a string:
UIDevice.currentDevice().identifierForVendor!.UUIDString