DWINFO 0.0.4

DWINFO 0.0.4

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Aug 2017

Maintained by dwanghello.



DWINFO 0.0.4

  • By
  • CoderDwang

   

使用DWINFO可以获取到设备及当前App的简要信息

如果感觉不错,请给个Star支持一下

使用中如果遇到什么问题可以联系我

QQ群:577506623

QQ群

e-mail:[email protected]

pod 'DWINFO'

  • 当前设备UUID

      NSLog(@"%@", [DWDeviceINFO currentDeviceUUID]);
    
  • 当前设备名称

      NSLog(@"%@", [DWDeviceINFO currentDeviceName]);
    
  • 当前设备型号

      NSLog(@"%@", [DWDeviceINFO currentDeviceModelName]);
    
  • 当前设备系统版本

      NSLog(@"%@", [DWDeviceINFO currentDeviceSystemVersion]);
    
  • 当前设备电量

      NSLog(@"%f", [DWDeviceINFO currentDeviceBatteryLevel]);
    
  • 当前设备连接的WIFI名称

      NSLog(@"%@", [DWDeviceINFO currentDeviceConcatenWIFIName]);
    
  • 当前设备连接的网络状态

      NSLog(@"%@", [DWDeviceINFO currentDeviceConcatenNetType]);
    
  • 当前设备运营商

      NSLog(@"%@", [DWDeviceINFO currentDeviceOperator]);
    
  • 当前App名称

      NSLog(@"%@", [DWAppINFO currentAppName]);
    
  • 当前App版本

      NSLog(@"%@", [DWAppINFO currentAppVersion]);
    
  • 当前App编译版本

      NSLog(@"%@", [DWAppINFO currentAppBuildVersion]);
    
  • 当前App唯一标示

      NSLog(@"%@", [DWAppINFO currentAppIdentifier]);