UDID 解决方案 SecureUDID
- 授权协议: MIT
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: http://secureudid.org/
软件介绍
SecureUDID 是一个开源的基于沙箱机制的 UDID 解决方案,旨在解决苹果因为废弃了 UDID 后导致的隐私问题。
示例代码:
#import "SecureUDID.h" NSString *domain = @"com.example.myapp"; NSString *key = @"difficult-to-guess-key"; NSString *identifier = [SecureUDID UDIDForDomain:domain usingKey:key]; // The returned identifier is a 36 character (128 byte + 4 dashes) string that is unique for that domain, key, and device tuple.
