App Store审核被拒内容如下:

Guideline 2.1 - Information Needed

We’re still looking forward to completing our review, but we need more information to continue. Your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 15.0.2

Since you indicated in App Store Connect that you collect data in order to track the user, we need to confirm that App Tracking Transparency has been correctly implemented.

Next Steps

Please explain where we can find the App Tracking Transparency permission request in your app. The request should appear before any data is collected that could be used to track the user.

If your app does not track users, please update your app privacy information in App Store Connect. You must have the Account Holder or Admin role to update app privacy information.

If you’ve implemented App Tracking Transparency but the permission request is not appearing on devices running the latest OS, please review the available documentation and confirm App Tracking Transparency has been correctly implemented.

Resources

Tracking is linking data collected from your app with third-party data for advertising purposes, or sharing the collected data with a data broker. Learn more about tracking.See Frequently Asked Questions about the new requirements for apps that track users.Review developer documentation for App Tracking Transparency.

解决方案:

1、检查info.plist是否添加描述信息

<key>NSUserTrackingUsageDescription</key>
<string>我们要使用隐私功能,内容详细一点比较好!</string>

2、是否添加了申请权限的代码

申请权限代码(swift):


import AppTrackingTransparencyclass WMPermissionRequest {//NEWLY ADDED PERMISSIONS FOR iOS 14static func requestIDFAPermission() {if #available(iOS 14, *) {#if DEBUGprint("IDFA status = \(ATTrackingManager.trackingAuthorizationStatus)")#endiflet status = ATTrackingManager.trackingAuthorizationStatusswitch status {case .notDetermined:ATTrackingManager.requestTrackingAuthorization { status inswitch status {case .authorized:// Tracking authorization dialog was shown// and we are authorizedprint("Authorized")case .denied:// Tracking authorization dialog was// shown and permission is deniedprint("Denied")case .notDetermined:// Tracking authorization dialog has not been shownprint("Not Determined")case .restricted:print("Restricted")@unknown default:print("Unknown")}}default:print("default")}}}}

在合适的时候调用申请权限

func sceneDidBecomeActive(_ scene: UIScene)viewDidLoad()方法中均无法弹窗,但是在viewDidAppear确是有效的。代码如下:

override func viewDidAppear(_ animated: Bool) {super.viewDidAppear(animated)//请求权限 ios 14.5WMPermissionRequest.requestIDFAPermission()}

大家可以根据自己项目选择调用时机。

测试项目为新建简单的demo,目录如下:

demo下载地址 https:去/掉/url18中.ctfile文.com/f/1826018-518202008-2892d9(访问密码:7148)

we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 15.0.2相关推荐

  1. app审核被拒:App Tracking Transparency permission request when reviewed on iOS 15.0

    被拒理由: Guideline 2.1 - Information Needed We're still looking forward to completing our review, but w ...

  2. App Tracking Transparency被拒解决

    App Tracking Transparency 如果使用了App Tracking Transparency,苹果要求在iOS 14.5及以上的版本中必须在弹框取得用户同意后,才可以跟踪用户.否则 ...

  3. SwiftUI中如何使用App Tracking Transparency Framework

    在iOS 14.5中,Apple引入了一个称为"应用程序跟踪透明度(ATT)"的新框架.这个新框架取代了以前的LAT机制(限制广告跟踪),该机制允许用户限制要传递的唯一标识符以进行 ...

  4. iOS 15 如何让 App 启动更快?

    译者 | 无阻我飞扬     责编 | 晋兆雨 出品 | CSDN(ID:CSDNnews) WWDC21中最有趣的特性被深深地隐藏在 Xcode 13发布说明中: 部署在 macOS 12 或 iO ...

  5. 已解决 selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element 找不到元素的问题

    场景 使用selenium的find_element_by_xpath()函数报错:selenium.common.exceptions.NoSuchElementException: Message ...

  6. Intellij Idea flutter launch emulator Manager Unable to locate adb

    Intellij Idea测试flutter项目时,launch AVD emulator弹出: AVD Manager Unable to locate adb Solution: Click on ...

  7. Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxws]

    利用cxf调试webservice接口的时候出现下面的错误 error:Unable to locate Spring NamespaceHandler for XML schema namespac ...

  8. Ubuntu E: Unable to locate package错误解决办法

    Ubuntu 16.04 64位 安装软件时报错: Unable to locate package:无法找到包. 解决办法: 执行命令:sudo apt-get update 再安装自己的软件就ok ...

  9. ubuntu14.04.5装cuda7.5记录(解决unable to locate the kernel source,装cuda黑屏问题,装cuda循环登录问题)

    ubuntu14.04.5装cuda7.5记录(解决unable to locate the kernel source,装cuda黑屏问题,装cuda循环登录问题) 参考文章: (1)ubuntu1 ...

最新文章

  1. Note6:batch file programming
  2. 无边框对话框改变大小
  3. js将文字填充与canvas画布再转为图片
  4. 数据结构之树:树的介绍——9
  5. Keras-10 模型可视化
  6. Intel SDM Chapter 10: APIC
  7. 具体案例 快速原型模型_工业/产品设计流程案例---智能手表设计:从创意到模型(一)...
  8. Java自动化测试框架-05 - 来给你的测试报告化个妆整个形 - (上)(详细教程)
  9. ubuntu1204 dvd 用tweak后界面起不来 swap设置4g足够32位系统软件用
  10. PTA:图的理论习题集
  11. 在python3.X中执行python manage.py migrate命令的坑
  12. 海康威视NVR萤石云配置及不在线故障排除
  13. python实现算法改进_运动目标检测vibe算法及其改进Python实现
  14. Matlab遗传算法大纲
  15. python语言的多行注释以什么开头和结尾_python多行注释
  16. android jni介绍
  17. 不同证券的资产收益率统计(2012-2020年)
  18. 用Python实现斯皮尔曼等级相关性检验
  19. AIoT应用创新大赛-基于TencentOS Tiny 的遥控小车
  20. 机房服务器维护表,服务器机房维护记录表

热门文章

  1. mysql redis缓存配置_SpringMVC + MyBatis + Mysql + Redis(作为二级缓存) 配置
  2. python语句和语法介绍
  3. 解决:RecyclerView 滑动后布局错乱
  4. 电商数仓zabbix
  5. C# 调用微信公众号接口发送客服消息示例
  6. 在线支付(通过第三方支付平台易保支付)
  7. 纯国产的大佬周志华,如何扛起了智能学界的一面大旗
  8. 计算机数值表示Integer
  9. GCSE英语语言考试-角色定位
  10. 《CCNP ROUTE 300-101认证考试指南》——8.2节 LSA和OSPF链路状态数据库