5

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!

Daniel Uzelac
  • 89
  • 1
  • 9
  • possible duplicate of [Retrieving the serial number from the device](http://stackoverflow.com/questions/7127614/retrieving-the-serial-number-from-the-device) – Mike Mertsock Jan 15 '14 at 16:02

1 Answers1

6

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.

Community
  • 1
  • 1
Dmitry Zhukov
  • 1,809
  • 2
  • 27
  • 35