Getting Device ID or Mac Address in iOS
device, ios, mac-address, objective-c
Solution
`[[UIDevice currentDevice] uniqueIdentifier]` is guaranteed to be unique to each device.
Problem
I have an application that uses rest to communicate to a server, i would like to obtain the iphones either mac address or device ID for uniqueness validation, how can this be done?
Related problems
- iOS6 UDID - What advantages does identifierForVendor have over identifierForAdvertising?
- How can I programmatically get the MAC address of an iphone
- The advertisingIdentifier and identifierForVendor return "00000000-0000-0000-0000-000000000000"
- API to get an iPhones unique ID?
- How can I programmatically get the MAC address of an iphone