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.
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]
精彩评论