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.
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.
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.
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.
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]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With