I could get the address from putID in one API call, here is the code:
GMSPlacesClient *placesClient = [[GMSPlacesClient alloc] init]; [placesClient lookUpPlaceID:result.placeID callback:^(GMSPlace *place, NSError *error) { if (error != nil) { NSLog(@"Place Details error %@", [error localizedDescription]); return; } if (place != nil) { NSString *locality = @""; for (GMSAddressComponent *add in place.addressComponents) {
source share