Latest 1.0.0
Homepage https://github.com/diankuanghuolong/GetUUIDbyKeyChain
License MIT
Platforms ios 8.0
Authors

GetUUIDbyKeyChain

GetUUIDbyKeyChain

1.使用声明:

本demo中的方法非本人原创,如有疑问,概不解释。俺也不懂。

2.使用方法:

(1.)先进行部分设置:
打开项目,依次找到Keychain Sharing打开:

    TARGETS->Capabilities->Keychain Sharing :ON
    可

  此时,可以看到项目中自动生成一个后缀为.entitlements的文件。点我查看

(2.)将demo中GetUUID文件夹拖入你的项目中,并在要调用的地方导入:

     #import "CustomGetUUID.h"

(3.)然后调用实现:

    label.text = [CustomGetUUID getUUID];

Latest podspec

{
    "name": "HaiGetUUID",
    "version": "1.0.0",
    "summary": "summary HaiGetUUID",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/diankuanghuolong/GetUUIDbyKeyChain",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "diankuanghuolong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/diankuanghuolong/GetUUIDbyKeyChain.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HaiGetUUID/Classes/**/*"
}

Pin It on Pinterest

Share This