GithubHelp home page GithubHelp logo

liangguoqiang / keychainidfa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qixin1106/keychainidfa

0.0 2.0 0.0 188 KB

获取idfa标示当设备唯一识别,并保存到keychain中.基本不变.除非刷机.

Objective-C 100.00%

keychainidfa's Introduction

KeychainIDFA

获取idfa标示当设备唯一识别,并保存到keychain中.基本不变.除非刷机.

测试数据

//第一次:2d54d261-7bae-4014-8b81-3f9ff969b6e1
//第二次:2d54d261-7bae-4014-8b81-3f9ff969b6e1
//卸载app启动:2d54d261-7bae-4014-8b81-3f9ff969b6e1

//delete之后:2b8d8afc-7f87-4c9c-ac73-ec64a89fc1a8
//delete之后2次:2b8d8afc-7f87-4c9c-ac73-ec64a89fc1a8
//delete之后卸载:2b8d8afc-7f87-4c9c-ac73-ec64a89fc1a8

使用方式

//设置你idfa的Keychain标示,该标示相当于key,而你的IDFA是value
//在KeychainIDFA.h中定义
#define IDFA_STRING @"com.qixin.test.idfa"

#import "KeychainIDFA.h"

[KeychainIDFA IDFA]//获取IDFA

[KeychainIDFA deleteIDFA]//删除Keychain中IDFA(一般不用)

keychainidfa's People

Contributors

qixin1106 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.