iOS14 To use the AppTrackingTransparency framework 1.1、 步骤 1.2、 iOS14请求用户授权获取IDFA的代码实现 前言 在 iOS13 及以前 We want to make sure you're aware that starting April 26, 2021, apps on the App Store must use AppTrackingTransparency If not, and your app continues to track users, your next submission must implement AppTrackingTransparency 1.2、 iOS14请求用户授权获取IDFA的代码实现 在 Info.plist 中配置" NSUserTrackingUsageDescription " 及描述文案 使用 AppTrackingTransparency
We want to make sure you're aware that starting April 26, 2021, apps on the App Store must use AppTrackingTransparency If not, and your app continues to track users, your next submission must implement AppTrackingTransparency
详情请访问https://developer.apple.com/documentation/apptrackingtransparency 在Info.plist中添加NSUserTrackingUsageDescription 代码如下: #import <AppTrackingTransparency/AppTrackingTransparency.h> #import <AdSupport/AdSupport.h> ... 在这里插入图片描述 3.2 适配极光推送 iOS14.5.1适配【To use the AppTrackingTransparency framework】使用AppTrackingTransparency channel:@"App Store" apsForProduction:YES advertisingIdentifier:[self testIDFA]]; 获取idfaString #import <AppTrackingTransparency /AppTrackingTransparency.h> #import <AdSupport/AdSupport.h> - (NSString*)testIDFA { NSString __
App clip 无法通过 AppTrackingTransparency 请求授权来跟踪用户,并且 name 和 identifierForVendor 都返回一个空字符串。
第二代)可在设备之间根据用户的使用场景自动切换音频源; AirPods Pro 新增空间音频功能,提供沉浸式聆听体验; AirPods 电量不足时会有通知提示; IDFA:无法直接获取,所有应用必须通过 AppTrackingTransparency
在这里插入图片描述 可以使用进行icon的生成 在这里插入图片描述 IV iOS14.5以上隐私选项被打回 在这里插入图片描述 如果使用了idfa,请使用AppTrackingTransparency
选择iOS 14.6是因为从iOS 14.5开始,苹果手机系统中的所有App都必须使AppTrackingTransparency框架来征得用户的许可,才能对其进行跟踪或访问其设备的广告标识符。
2.5 iOS14.5以上隐私选项被打回 如果使用了idfa,请使用AppTrackingTransparency框架的API进行获取 https://kunnan.blog.csdn.net/article
遵守平台规范:iOS端务必严格遵守AppStore关于SigninwithApple、应用内购买、用户隐私跟踪(AppTrackingTransparency)的所有规定。
在海外老版本设备(如iPhone8及以下)中仍有大量用户,开发需关注:-AppStore审核兼容:OC代码需严格遵循苹果《AppStore审核指南》,避免使用私有API(如国内常见的“热更新”技术),同时集成AppTrackingTransparency
ATT是Apple推出的新的用户协议框架,全称AppTrackingTransparency,根据 Apple 的规则指南,任何出于跟踪或广告相关目的收集最终用户数据并与第三方分享的应用,都必须使用ATT