我在我的应用程序中使用 Google Place API。好吧,它工作正常并在某些地方给出响应。但是对于某些地方,它给出了“零结果”。
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"https://maps.googleapis./maps/api/place/search/json?location=%f,%f&radius=5000&types=&name=%@&sensor=false&key=fgewffefewweweewfe",mapView.centerCoordinate.latitude,mapView.centerCoordinate.longitude,searchPlace.text]];
NSURLRequest *request = [[NSURLRequest alloc]initWithURL:url];
NSURLConnection *connect= [[NSURLConnection alloc]initWithRequest:request delegate:self];
谁能给我一个想法,我哪里出错了?