有人知道如何在MKMapView
上隱藏Google徽標嗎?在MKMapView上隱藏Google徽標
我不想隱瞞它。我想要相反。原因是,一個應用程序得到了拒絕,因爲通過谷歌地圖API獲得
8.6谷歌地圖和谷歌地球的圖像可以在應用程序中使用的,如果原始內容的所有品牌特徵保持不變,並完全可見。覆蓋或修改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];
當你啓動你的應用程序時,是否隱藏了谷歌徽標?奇怪^^但我從來沒有試圖隱藏它。 – Vinzius 2010-11-23 12:47:41
我以兩種方式使用地圖:有一次我使用了NIB,而另一次沒有。使用NIB時,我擁有Google徽標。 – testing 2010-11-23 13:01:20