How to get the usage time (age of), Modal Number, software version of the iPhone using obj c
Anyone can tell me that how can I get the total life age (usage time), Modal Number, software version of the iPhone using obj c. Also how can we c开发者_Python百科heck that iphone is jailbroken or not using objective C.
Thanks MAS
Not sure on this but you could give SystemConfiguration.framework (if it is even present on the iphone) a try.
I don't know about the usage time, but you can get the device type and OS version from the UIDevice class:
NSLog(@"Device type: %@\niOS version: %@\n",
[UIDevice currentDevice].model,
[UIDevice currentDevice].systemVersion);
// Might output this:
Device type: iPhone
iOS version: 2.0
精彩评论