iOS开发 -- App Tracking Transparency permission request 在 iOS15 中出问题了

因app中使用了广告,因此按要求加了App Tracking Transparency permission request,此前都是正常的,但最近iPhone 13出来后,苹果发布了iOS 15。为凑个热闹,也升级了一下,可是,被拒了,理由如下:

Guideline 2.1 - Information Needed


We're 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.

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.
 

之前也有类似的情况被拒,简单回复即可,因为:

The App Tracking Transparency permission request is the one-time request to authorize or deny access to app-related data that can be used for tracking the user or the device. The system remembers the user’s choice and doesn’t prompt again unless a user uninstalls and then reinstalls the app on the device.

回复请审核人员先删除app,再进行测试就可以了。但这次回复以后,结果依然是拒绝,而且,多个app都遇到了同样的问题,看样子是iOS 15的新情况,搜索了一下,果然,有开发者也遇到了同样的问题,并且,已经有了解决办法。看到这个办法,简单,而且,应该可以解决我的问题,就试着提交了一个,通过了!

以下是搜索到的帖子与主要回复:

//

I'm currently in the process of submitting in the App Store, and then after I tested my build in iOS15, it stopped displaying the prompt for ATT, I also tried it to other lower versions and it worked. Is there any way to fix this?

if #available(iOS 14, *) {

ATTrackingManager.requestTrackingAuthorization { status in

}}

I also checked the current app store build version, and it also doesn't work. Some people are currently experiencing this kind of issue in Reddit.

got the same issue - just add delay for 1 sec before showing ATT popup.

At first we show popup for push notifications, then when user made a choice - show ATT popup after 1 sec

Thank you very much! Adding a 1-second delay after triggering the push notification popup seems to have worked! — masterbri 58 minutes ago

Just now, I found a phenomenon that if an app has been installed on iOS 15, even if it is deleted, reinstalled, or restarted, the selection of some system permissions of the app is still remembered, so there is no need to reselect (such as user tracking, location, photos, camera, etc.), and there is no pop-up box, except for notifications.

上一篇:Cinematic Tracking Title for fcpx(电影自适应伸展效果文字标题)


下一篇:算法——回溯算法 (Back Tracking) (转)