iOS 14.5审核被拒 Guideline 5.1.2

最近的14.5提包因隐私性被拒

Guideline 5.1.2 – Legal – Privacy – Data Use and Sharing

WX20210513-103640.png

苹果给出了两个解决办法, 第一个是直接在账号中配置隐私性进行解决

help.apple.com/app-store-c…

我们采用第二种方式在APP内添加info解决

<key>NSUserTrackingUsageDescription</key>
<string>该标识符将用于投放个性化广告</string>
复制代码

获取标识符代码

#import <AppTrackingTransparency/AppTrackingTransparency.h>
#import <AdSupport/AdSupport.h>
- (void)fetchIDFA {
  [ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {

  }];
}
复制代码
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享