ios - How to display image from a google json response using photo_reference? -


i getting json response google api. there tag in json called photo_reference. how display image using tag.

nsdictionary *photodict = [[place objectforkey:@"photos"] objectatindex:0]; nsstring *photoref = [photodict objectforkey:@"photo_reference"];  nsstring *url = [nsstring stringwithformat:@"https://maps.googleapis.com/maps/api/place/photo?photoreference=%@&key=%@&sensor=false&maxwidth=320", photoref, kgoogle_api_key]; 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -