Reputation: 89
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!
Upvotes: 5
Views: 6873
Reputation: 1816
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.
Upvotes: 6