Is there any way to get the iPhone Model number ?

Posted by makboney on Stack Overflow See other posts from Stack Overflow or by makboney
Published on 2010-06-06T11:28:55Z Indexed on 2010/06/06 11:32 UTC
Read the original article Hit count: 167

Filed under:
|
|
|

I just figure out the device on which i'm working by the code given bellow:

struct utsname systemInfo;

uname(&systemInfo);
NSLog(@"%@", [NSString stringWithCString:systemInfo.version
                          encoding:NSUTF8StringEncoding]);

But is there any way to find the model of my iPhone??? Thanks in advance ....

© Stack Overflow or respective owner

Related posts about iphone

Related posts about c