views:

559

answers:

3

Hi There, How can one get iphone system information such as sdk version? The infomration i need is similar to the device information you see when your iphone/itouch is connected to itunes. I can use UniqueDevice to get the serial number but cant seem to find any system properties or request methods in there. Look forward to your thoughts on this. Tony

A: 

i think by SDK you mean the system version...so check UIDevice systemVersion

CiNN
+3  A: 

Check out the UIDevice class - that's pretty much all you're going to get from the SDK.

Joel Levin
A: 

Hey folks, Thanks for your answers. I must be blind, they were right infront of my eyes all along. Here is the code I'm using to get data I need.

serial_no = [[UIDevice currentDevice] uniqueIdentifier]; version = [[UIDevice currentDevice] systemVersion]; system = [[UIDevice currentDevice] systemName];

TonyNeallon