Skip to content
John Smith edited this page Dec 12, 2015 · 3 revisions

This binary allows interface with UIDevice. The options are as follows:

  • "-n" Print the device name
  • "-N" Print the system name
  • "-V" Print the system/OS version
  • "-m" Print the localized model
  • "-u" Print the UUID
  • "-o" Print the orientation. It can be one of "Portrait, PortraitUpsideDown, LandscapeLeft, LandscapeRight, FaceUp, FaceDown, Unknown"
  • "-l" Print a double precision battery level
  • "-s" Print the battery state. It can be one of "Full, Charging, Unplugged, Unknown"
  • "-p" Print the status of the proximity sensor. It can be YES or NO. UNAVAILABLE is default for devices without a sensor.
  • "-e" Prints the status of multitasking support as YES or NO
  • "-h" Prints the help message
Clone this wiki locally