有人知道如何将 Google 徽标隐藏在MKMapView
.
我不想隐藏它。我想要相反的。原因是应用程序被拒绝是因为
8.6 如果原始内容的所有品牌特征保持不变且完全可见,则可以在应用程序中使用通过 Google 地图 API 获得的 Google 地图和 Google 地球图像。掩盖或修改 Google 徽标或版权所有者标识的应用将被拒绝
现在我想撤消这个,但我不知道是哪个代码导致了这种行为。
编辑:
我认为原因是这个代码行
self.mapView=[[[MKMapView alloc] initWithFrame:self.view.bounds] autorelease];
self.view.bounds
不考虑导航栏。我会试试这个:
CGRect mapSize = CGRectMake(self.view.bounds.origin.x, self.view.bounds.origin.y, self.view.bounds.size.width, self.view.bounds.size.height - 44.0f);
self.mapView = [[[MKMapView alloc] initWithFrame:mapSize] autorelease];