Monotouch stringWithFormat using a URL
Posted
by Pselus
on Stack Overflow
See other posts from Stack Overflow
or by Pselus
Published on 2010-03-21T23:22:54Z
Indexed on
2010/03/21
23:31 UTC
Read the original article
Hit count: 424
I'm trying to learn the MapKit with Monotouch and I'm having difficulty figuring out how to search for an address. I finally found this snippet of Objective-C code that might help but it has a line where they use a URL to get a return value and I have no idea how to use this code in C#:
NSString *urlString = [NSString stringWithFormat:@"http://maps.google.com/maps/geo?q=%@&output=csv",
[addressField.text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
If anyone could give me some advice that would be helpful.
© Stack Overflow or respective owner