• This repository has been archived on 16/Feb/2023
  • Stars
    star
    250
  • Rank 162,397 (Top 4 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 11 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Category to check hardware version that's running iOS

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