iOS-Hardware-Models Basic code to get the Hardware Model of an iOS device in Objective-C. For Example: if ([deviceString isEqualToString:@"iPhone4,1"]) return @"iPhone 4S"; References: https://en.wikipedia.org/wiki/List_of_iOS_devices