有人知道如何在
我不想隐藏它,相反,我想让它显示出来。原因是应用程序因以下原因被拒绝:
MKMapView
上隐藏Google标志吗?我不想隐藏它,相反,我想让它显示出来。原因是应用程序因以下原因被拒绝:
现在我想撤销这个操作,但我不知道哪段代码负责此行为。 编辑: 我认为原因是这行代码。8.6如果所有原始内容的品牌特征保持不变且完全可见,则通过Google Maps API获得的Google Maps和Google Earth图像可以在应用程序中使用。覆盖或修改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];