iOS15 ATTrackingManager权限请求未展示,审核被拒问题处理!!!

Guideline 2.1 - Information NeededWe continue to find that your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 15.0.

1、大概意思是在iOS15上没有做权限请求,可是我在info.plist里添加了Privacy - Tracking Usage Description配置,并且iOS15之前一直都是正常的,有些无语。。。

2、国内的有些文章说如果没用到ATTrackingManager获取的参数,就直接删了,可是我们的项目中用到IDFA,没办法不能直接删

后来看到国外的一则评论给了处理方案

We were facing this same issue. We were calling the ATT request from our first ViewController'sviewDidLoadmethod, and the popup was not being shown on iOS15 (but working perfectly on iOS14).

We've changed to call the request from the AppDelegate'sapplicationDidBecomeActivemethod and it worked! The popup is being presented on the first app launch on iOS15.

所以解决方案:请求获取权限的授权方法从didFinishLaunchingWithOptions中转移到applicationDidBecomeActive方法中即可, 同时注意不要跟注册通知、获取位置等权限弹框有冲突,确保ATTrackingManager请求弹框能弹出来。

备注:通过此方案我已经重新提交,并审核通过了哦!

** 码字不易,您的点赞/关注/赞赏将是我写作分享的动力!**

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容