Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Retrieving the serial number from the device

How do we get the serial number of the device through objective C? I want to retrieve the iPod/iPhone/iPad serial number from within my application.

like image 797
Abhinav Avatar asked Aug 19 '11 21:08

Abhinav


People also ask

How do you get a serial number of a device?

To find your device's serial number in the software, go to Settings > System. Then jump into About Phone > Status. Your device's serial number will generally be located toward the bottom of this screen.

How do I find my serial number and model?

Depending on your device, your IMEI, serial number and model number may be printed on the back or beneath the removable battery. For devices with a removable battery, the IMEI number will be in different places depending on your model. It is usually under the battery, printed on the phone near the bottom of the device.

How do I find my phone's serial number?

According to Best Buy, many Android phones come with the serial number printed on the back of the device. Turn your phone over and check there. If your phone has a removable battery, the serial number may also be printed underneath it.


1 Answers

If you are creating an application that will not be submitted to the App Store you can check out Erica Sadun's UIDevice Extensions which uses IOKit.framework.

[[UIDevice currentDevice] serialnumber]
like image 53
Joe Avatar answered Oct 17 '22 01:10

Joe