SimulateIDFA 0.0.1

SimulateIDFA 0.0.1

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布日期最后更新2016年12月

youmi.net维护。



  • 作者
  • umplus

SimulateIDFA: iOS10 IDFA 广告跟踪限制解决方案

背景

苹果更新了广告标识符 API 参考信息

Important

In iOS 10.0 and later, the value of advertisingIdentifier is all zeroes when the user has limited ad tracking.

这意味着苹果将不再向开发者开放那些有限广告跟踪功能的用户IDFA。

SimulateIDFA

SimulateIDFA结合许多设备信息来创建一个帮助区分不同设备的ID。

它包括设备名、启动时间、国家代码、设备模型等。

框架依赖

  • CoreTelephony.framework

导入SimulateIDFA.h,并调用函数createSimulateIDFA以获取SimulateIDFA

NSString *simulateIDFA = [SimulateIDFA createSimulateIDFA];
NSLog(@"%@", simulateIDFA);

输出

626363D0-90D4-06BF-C281-384E4E69D3E2

许可证

The MIT License (MIT)

Copyright (c) 2016 Youmi Technology

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

语言:zh_CN