2

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

NSString* deviceName()
{
    struct utsname systemInfo;
    uname(&systemInfo);
    return [NSString stringWithCString:systemInfo.machine
                              encoding:NSUTF8StringEncoding];
}

But is there any way to find the model of my iPhone??? Example- iPhone 6 model number MG3C2 Thanks in advance ....

0 Answers0