RTID:ios设备唯一标识符的解决方案-源码

上传者: 42169245 | 上传时间: 2021-07-07 21:03:14 | 文件大小: 37KB | 文件类型: ZIP
RTID 背景 很多时候我们需要设备的唯一标识符,但自从 iOS 5.0 之后,苹果公司开始限制 [UIDevice currentDevice].uniqueIdentifier 的访问,而现在,这个接口已经被移除,多了一个新的 identifierForVendor 接口。对每个单独的应用,它返回一个唯一的字符串,但是应用删除重装安装后,这个字符串就变了(本人在一个 iOS 6.1.2 越狱设备上测试,可能会有些问题)。这样的话,统计或是作为用户身份登录都会产生问题。 网卡地址 读 MAC 地址是个不错的想法,但在目前最新的 iOS 7.0 中返回 02:00:00:00 ,已经失效。即使是在 iOS 6.0 中,读 MAC 地址也是做为私有接口存在。 OpenUDID 这是一个不错的实现,它不依赖 iOS 设备的任何硬件和系统中的 ID,而是随机生成一串字符,并保存在某处。它的限制也

文件下载

资源详情

[{"title":"( 30 个子文件 37KB ) RTID:ios设备唯一标识符的解决方案-源码","children":[{"title":"RTID-master","children":[{"title":".gitignore <span style='color:#111;'> 242B </span>","children":null,"spread":false},{"title":"RTID.podspec <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 71B </span>","children":null,"spread":false},{"title":"DemoTests","children":[{"title":"DemoTests.m <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"DemoTests-Info.plist <span style='color:#111;'> 689B </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Demo","children":[{"title":"main.m <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"ViewController.m <span style='color:#111;'> 680B </span>","children":null,"spread":false},{"title":"AppDelegate.h <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"Demo-Prefix.pch <span style='color:#111;'> 344B </span>","children":null,"spread":false},{"title":"Images.xcassets","children":[{"title":"LaunchImage.launchimage","children":[{"title":"Contents.json <span style='color:#111;'> 442B </span>","children":null,"spread":false}],"spread":true},{"title":"AppIcon.appiconset","children":[{"title":"Contents.json <span style='color:#111;'> 333B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AppDelegate.m <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"ViewController.h <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"Base.lproj","children":[{"title":"Main.storyboard <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":false},{"title":"Demo-Info.plist <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"RTIDTests","children":[{"title":"RTIDTests.m <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"en.lproj","children":[{"title":"InfoPlist.strings <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"RTIDTests-Info.plist <span style='color:#111;'> 689B </span>","children":null,"spread":false}],"spread":true},{"title":"RTID.xcodeproj","children":[{"title":"project.xcworkspace","children":[{"title":"contents.xcworkspacedata <span style='color:#111;'> 149B </span>","children":null,"spread":false}],"spread":true},{"title":"project.pbxproj <span style='color:#111;'> 31.27KB </span>","children":null,"spread":false},{"title":"xcuserdata","children":[{"title":"ricky.xcuserdatad","children":[{"title":"xcschemes","children":[{"title":"RTID.xcscheme <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"xcschememanagement.plist <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"Demo.xcscheme <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"RTID","children":[{"title":"RTID.h <span style='color:#111;'> 871B </span>","children":null,"spread":false},{"title":"RTID.m <span style='color:#111;'> 4.38KB </span>","children":null,"spread":false},{"title":"RTID-Prefix.pch <span style='color:#111;'> 182B </span>","children":null,"spread":false}],"spread":true},{"title":"Screenshot","children":[{"title":"s0.png <span style='color:#111;'> 26.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明