Link:
http://stackoverflow.com/questions/11197509/ios-how-to-get-device-make-and-model

Code:

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

Gist:

Advertisements