0
在iOS 6.1中,集成谷歌地圖版本1.3.1。當導航的地方,有錯誤發生。 「收到內存警告」。它在模擬器中工作,但不在設備中。在ios 6.1中使用谷歌地圖版本1.3.1的內存警告?
我的代碼:
GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:[show_lat doubleValue] longitude:[show_long doubleValue] zoom:15];
[mapView_ animateToCameraPosition:camera];
mapView_ = [GMSMapView mapWithFrame:self.mapview.bounds camera:camera];
mapView_.myLocationEnabled = YES;
mapView_.settings.compassButton = YES;
mapView_.settings.myLocationButton = YES;
[self.mapview addSubview:mapView_];
// Creates a marker in the center of the map.
GMSMarker *marker = [[GMSMarker alloc] init];
marker.position = CLLocationCoordinate2DMake([show_lat doubleValue],[show_long doubleValue]);
marker.title = selected_branchName;
marker.snippet = selected_city;
marker.map = mapView_;
任何人都可以知道的請幫我...