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?

Original source

Related problems