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 when reviewed on iOS 15.0.2.
網(wǎng)上找了下方法膏萧,都說是iOS15的bug,在
? ? func??application(_application:UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey:Any]?) ->Bool{
}
? ? func?applicationDidBecomeActive(_application:UIApplication) {
}
這兩個里面都加入了下面的請求
?? ? if #available(iOS 14.0, *) {
? DispatchQueue.main.asyncAfter(deadline: .now() +1) {
? ? ? ? ? ? ? ? ATTrackingManager.requestTrackingAuthorization{ (status)in
????????????????}
????????}
? ? ? ? ?}else{
?? ? ? ? ? ? if ASIdentifierManager.shared().isAdvertisingTrackingEnabled{
?? ? ? ? ? ? ? ? advertisingId =ASIdentifierManager.shared().advertisingIdentifier.uuidString
?? ? ? ? ? ? ? ? ? print(" 低于? iOS 14.0 advertisingId : ",advertisingId)
?? ? ? ? ? ? }else{
????}
}
info.plist 里確認有跟蹤權(quán)限請求描述文字
<key>NSUserTrackingUsageDescription</key>
<string>此標識符將用于向您推薦個性化廣告烁兰。</string>
但還是一直都不彈?
最后發(fā)現(xiàn)要在測試機上打開跟蹤請求按鈕脚囊,不然自己早就成功了也不知道。芦拿。士飒。查邢。
總彈窗不成功的小伙伴們也看看自己測試手機的允許APP請求跟蹤開關開沒開
因為這個卡好久也真的是。酵幕。扰藕。。芳撒。
注意:
1邓深、如果關閉列表中對應的應用的開關,再開啟笔刹,該應用的idfa值不變芥备;
2、如果關閉總跟蹤開關(“允許App請求跟蹤”)再開啟徘熔,則應用的開關需要單獨開啟门躯,且應用的idfa值會改變;
如果喜歡或者有幫助酷师,請點個贊再走吧 么么噠