Category to check hardware version that's running iOS
Objective-C Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
UIDeviceHardware.h
UIDeviceHardware.m
UIDeviceHardware.podspec

README.md

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