Skip to content

fran-sgd/DeviceHardware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

DeviceHardware

Determines iOS device version.

// Specific platform (ex.: iPad 2 GSM)
DeviceHardwareSpecificPlatform deviceHardwareSpecificPlatform = [DeviceHardware specificPlatform];

// General platform (ex.: iPad 2)
DeviceHardwareGeneralPlatform deviceHardwareGeneralPlatform = [DeviceHardware generalPlatform];

// Platform type (ex.: iPad)
DeviceHardwarePlatformType deviceHardwarePlatformType = [DeviceHardware platformType];

// Platform string (ex.: @"iPad 2 (GSM)")
NSString *platformString = [DeviceHardware platformString];

// Raw machine string (ex.: @"iPad2,2")
NSString *machineString = [DeviceHardware machine];

About

Determines iOS device version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%