UIDeviceHardware Category to check hardware version that's running iOS Usage To get the platform identfier NSString *platform = [UIDeviceHardware platform]; To get the platform name NSString *platformString = [UIDeviceHardware platformString]; Reference http://theiphonewiki.com/wiki/Models