You can get the unique device identifier (UDID) for a device, which is
a hash of different hardware identifiers (like the serial number) -
look at UIDevice. Its not really clear for what purposes you need the
identifier for, though, so whether or not you really need that or
something else isn't clear.
If you plan to use it in the context of the push notification
provider, keep in mind that the UDID and the push device token do not
behave in the same ways. The UDID is based on hardware identifiers, so
it doesn't ever change for a single device - even if that device is
wiped, given to someone else, restored from backup, etc. The device
token, on the other hand, does change when the device is wiped.
- Bryan
On Jul 13, 2009, at 1:17 PM, Rick Langschultz wrote:
Is there any way to get the IMEI code programatically? Or does a
device token the only unique identifier able to be generated.
Sent from my iPhone
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/bryanhenry%40mac.com
This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]