/ Published in: Objective C
Here is a peace of code from one of my project to show you how you to show directions on the Google Map application.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
- (void)showDirections { if ([self.address length] == 0) return; //We create our link to the appDelegate ClubPlanetControllerAppDelegate * appDelegate = (ClubPlanetControllerAppDelegate *)[UIApplication sharedApplication].delegate; [[UIApplication sharedApplication] openURL:myURL]; }
URL: http://www.espinallab.com