ios - _placesClient lookUpPlaceID neither executing nor showing any error -
i using place id details of place following https://developers.google.com/places/ios/place-details
nsstring * placeid ;//= place.placesid; placeid=place.placesid; [_placesclient lookupplaceid:place.placesid callback:^(gmsplace *place, nserror *error) { if (error != nil) { nslog(@"place details error %@", [error localizeddescription]); return; } if (place != nil) { nslog(@"place name %@", place.name); nslog(@"place address %@", place.formattedaddress); nslog(@"place placeid %@", place.placeid); nslog(@"place attributions %@", place.attributions); } else { nslog(@"no place details %@", placeid); } }]; but code not executing , jumping of statement
[_placesclient lookupplaceid:place.placesid callback:^(gmsplace *place, nserror *error) { ... }]; any clues ,i have initialised _place client follows
_placesclient = [[gmsplacesclient alloc] init];
Comments
Post a Comment