I need to get the serial number of my device. It has to be the serial number and not an uuid or something else.
I'm supervising over 100 iPads with an enterprise app. So i need the serial number for organization reasons. In case my app is not in the app store. I heard that i can use iokit, but i didn't find anything helpful for ios 7 about it.
Is there any good tutorial for iOS7 - IOKit or is there another way to get the serial number?
Thanks in advance!
If you don't have your deviceGo to appleid.apple.com in a web browser. Sign in with the Apple ID that you use on your device. Choose the Devices section. To see the serial and IMEI/MEID number, select the device.
Find your serial number, IMEI/MEID, or ICCIDGo to Settings > General and tap About. Look for the serial number. You might need to scroll down to find the IMEI/MEID, and ICCID. To paste this information into Apple registration or support forms, touch and hold the number to copy.
If you can't turn on your iPhone, you can also get the serial number from the Apple ID web page, or another iOS device using the same Apple ID. If you saved the original packaging, you can also find the iPhone's serial number on the barcode sticker on the box.
Here is a working solution from 0xced (thanks to him!):
UIDevice+serialNumber category
Just tried it and it works like a charm, but as he pointed (and you said it's OK), won't be accepted by AppStore.
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