Latest 1.0.0
Homepage https://github.com/leezhihua/ZHDeviceTool
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, CoreTelephony, SystemConfiguration
Authors

有关iOS设备信息的操作

cocoapods support

pod 'ZHDeviceTool'
/**
设备唯一标识符
*/
+ (NSString *)UUID;

/**
设备型号名字 eg:iPhone 7
*/
+ (NSString *)deviceModelName;

/**
设备系统名字 eg:iOS 10.3.2
*/
+ (NSString *)deviceSystemVersion;

/**
手机运行商 eg:中国联通
*/
+ (NSString *)carrierName;

Latest podspec

{
    "name": "ZHDeviceTool",
    "version": "1.0.0",
    "summary": "u8bbeu5907u4fe1u606f",
    "description": "u6709u5173iOSu8bbeu5907u4fe1u606fu7684u64cdu4f5c",
    "homepage": "https://github.com/leezhihua/ZHDeviceTool",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "leezhihua": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/leezhihua/ZHDeviceTool.git",
        "tag": "1.0.0"
    },
    "source_files": "Pod/Classes/*.{h,m}",
    "frameworks": [
        "UIKit",
        "CoreTelephony",
        "SystemConfiguration"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This