Admob iOS 24.3儿童类应用必须获得家长许可

时间:2016-03-21 17:57:20

标签: ios objective-c iphone admob itunesconnect

当前的实时应用:我的应用名为" App for Kiddo"。应用包含应用内购买和 iAd 。我已成功实施针对应用内购买的家长控制,该应用目前已获得Apple批准,并可在iTunes中下载。

iTunes中拒绝的新版本:已移除 iAd 并添加 Admob 。应用程序目前被Apple拒绝解释。我有家长控制的方法,但不知道如何使用

GADRequest *request = [GADRequest request];
[request tagForChildDirectedTreatment:YES];
/// Tells the delegate an ad request loaded an ad.
- (void)adViewDidReceiveAd:(GADBannerView *)adView {
  NSLog(@"adViewDidReceiveAd");
}

/// Tells the delegate an ad request failed.
- (void)adView:(GADBannerView *)adView
    didFailToReceiveAdWithError:(GADRequestError *)error {
  NSLog(@"adView:didFailToReceiveAdWithError: %@", [error localizedDescription]);
}

/// Tells the delegate that a full screen view will be presented in response
/// to the user clicking on an ad.
- (void)adViewWillPresentScreen:(GADBannerView *)adView {
  NSLog(@"adViewWillPresentScreen");
}

/// Tells the delegate that the full screen view will be dismissed.
- (void)adViewWillDismissScreen:(GADBannerView *)adView {
  NSLog(@"adViewWillDismissScreen");
}

/// Tells the delegate that the full screen view has been dismissed.
- (void)adViewDidDismissScreen:(GADBannerView *)adView {
  NSLog(@"adViewDidDismissScreen");
}

**/// Tells the delegate that a user click will open another app (such as
/// the App Store), backgrounding the current app.
- (void)adViewWillLeaveApplication:(GADBannerView *)adView {
  NSLog(@"adViewWillLeaveApplication");
}**

根据我的理解,我可以在adViewWillLeaveApplication中编写代码以进行家长控制,但不确定要写什么

if(parental control){
//Success show advertisement???? What to write?
}else {
//Don't show advertisement?????? What to write?
}

来自Apple 24.3 - 儿童类别中的应用必须获得家长许可或使用家长门才允许用户链接出应用或从事商业活动 24.3详情

您已为自己的应用选择了“儿童类别”,但它包含应用外的链接或未事先获得家长许可而从事商业活动。具体来说,您的应用包含广告,这些广告在点按时会将用户带到网页。

在用户离开应用程序之前,请更新您的应用程序以合并父母门,并确保无法禁用家长门。

0 个答案:

没有答案