Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting phone UUID through iPhone SDK

Does the SDK provide an API for retrieving the current phone's UUID?

like image 245
4thSpace Avatar asked May 14 '09 21:05

4thSpace


People also ask

Does iPhone have UUID?

Every iPhone, iPad and iPod Touch has a Unique Device Identifier (UDID), which is either a 40-character alphanumeric string (on iPhone X models and prior.)

How can I get device ID in iOS?

Select your iOS device by clicking the device's image located at the upper-left corner of iTunes's UI. On the next screen, a window should appear listing your phone's Capacity, Phone Number, and Serial Number. By clicking on Serial Number once, the prompt should change to display your UDID.


1 Answers

[[UIDevice currentDevice] uniqueIdentifier]
like image 75
Sophie Alpert Avatar answered Nov 15 '22 13:11

Sophie Alpert