objective c - Unable to send multiple types "|" through to Google Places API via iOS -
somehow, unable send following string on google places api via ios.
nsstring string= @"https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=%f,%f&radius=1000&sensor=true&types=restaurant|cemetery&key=<mykey>"; if without pipe "|", works though.
nsstring string= @"https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=%f,%f&radius=1000&sensor=true&types=restaurant&key=<mykey>" any idea why?
through browser, both works. don't know how send "|" through.
Comments
Post a Comment