in my application in ios 5 i have a button name on the map
For example, in the store detail view, there is a showinmap button, and this button goes to maps.google to show the current direction of the user and the direction of the store, and he also draws a line between these directions on how to get there.
this was my method:
NSString* url = [NSString stringWithFormat: @"http://maps.google.com/maps?saddr=Current+Location&daddr=%@,%@",lonlocation,latlocation]; [[UIApplication sharedApplication] openURL: [NSURL URLWithString: url]];
but in ios 6, as you know, there is no Google Maps application. instead, there is an app for the new Apple card.
now my problem is how can I change my code to do the same work with apple map application in ios6 versions?
ercan source share