Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Cform/UIDevice-DisplayName

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

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 Name With Type: %@", UIDevice.currentDevice().displayName(includeType: true))

About

Returns a friendly name for any iOS device.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 92.0%
  • Ruby 8.0%