本文介绍了是否隐藏"法律与QUOT;在的MKMapView导致App Store的拒绝?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个有点小方显示一个的MKMapView。它足够小,法律的文字pretty多块一半的地图,所以我想摆脱它。

I'm displaying an MKMapView in a somewhat small square. It's small enough that the "Legal" text pretty much blocks half the map, so I'd like to get rid of it.

这是允许的:

for (UIView *view in mapView.subviews) {
    if ([NSStringFromClass([view class]) isEqualToString:@"MKAttributionLabel"]) {
        view.hidden = YES;
        break;
    }
}

如果我被隐藏,或使用此方法冒着应用商店甩不知道?

Not sure if I am risking App Store rejection by hiding it or using this method?

推荐答案

是的,它可能会被拒绝。有的是因为具有链路是法律要求,否则就会认为你正在使用的私有类检出( MKAttributionLabel )。

Yes, it will probably get rejected. Either because having the link is a legal requirement, or it'll be detected that you're using a private class (MKAttributionLabel).

话虽这么说,你可能逃脱它的几个版本中,如果他们不另行通知。

That being said, you might get away with it for a few releases, if they don't notice.

你有没有想过使用静态图像,而不是一个的MKMapView

Have you thought about using a static image instead of an MKMapView?

这篇关于是否隐藏"法律与QUOT;在的MKMapView导致App Store的拒绝?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 09:56