How to make an NSURL that contains a | (pipe character)?
- by aks
Hi all,
I am trying to access google maps' forward geocoding service from my iphone app.
When i try to make an NSURL from a string with a pipe in it I just get a nil pointer.
NSURL *searchURL = [NSURL URLWithString:@"http://maps.google.com/maps/api/geocode/json?address=6th+and+pine&bounds=37.331689,-122.030731|37.331689,-122.030731&sensor=false"];
I dont see any other way in the google api to send bounds coordinates with out a pipe.
Any ideas about how I can do this?