Thursday, March 31, 2011

Geting Platform info of iphone

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

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

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

  • 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];

0 comments:

Post a Comment