是否隐藏“合法"?在 MKMapView 中导致 App Store 拒绝? [英] Does hiding "Legal" in MKMapView result in an App Store rejection?

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

问题描述

我在一个有点小的正方形中显示一个 MKMapView.它足够小,以至于法律"文本几乎占据了地图的一半,所以我想摆脱它.

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;
    }
}

不确定我是否会因隐藏或使用这种方法而面临 App Store 拒绝的风险?

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?

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆