views:

1987

answers:

1

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?

+12  A: 

[[UIDevice currentDevice] uniqueIdentifier] is guaranteed to be unique to each device.

Steven Canfield