Skip to content

gal-m/UIDevice-DisplayName

 
 

Repository files navigation

UIDevice-DisplayName

displayName Returns a friendly name for an iOS device.

displayModelName Returns a shorter friendly name for an iOS device by only including the device model (leaving out celluar type, i.e iPhone 5 GSM will be iPhone 5)

License

UIDevice-DisplayName is available under the MIT license. See the LICENSE file for more info.

Usage

NSLog(@"Device Display Name: %@", [[UIDevice currentDevice] displayName]);

NSLog(@"Device Display Model Name: %@", [[UIDevice currentDevice] displayModelName]);

About

Returns a friendly name for any iOS device.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 93.3%
  • Ruby 6.7%