Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mpbahl

macrumors newbie
Original poster
Jul 1, 2008
7
0
I looks like the only way you can open an address in the map application programatically is if the address is in the address book

I've tried:
NSString *urlString=[NSString stringWithFormat:mad:"maps:address=%@"...]
NSURL *url = [NSURL URLWithString:urlString];
[[UIApplication sharedApplication] openURL:url];
which opens the map applicaiton but doesn't open to the correct address

I've see some incomplete examples like this
NSString *urlString=[NSString stringWithFormat:mad:"maps:address=%@&abPersonID=%d&abAddressID=%d"...]
NSURL *url = [NSURL URLWithString:urlString];
[[UIApplication sharedApplication] openURL:url];

is this true or am i missing something ?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.