tags:

views:

34

answers:

2

How to Launch the iPhone maps application from our own code

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://maps.google.com/maps"]];

I tried this code,but its coming in browser.Its not opening in the iPhones Default map app... I want my code to display the iPhone default map app to come up after existing the application which is being run.

A: 

use MKmapView to show map in Application instead of launching the Browser.

pawan.mangal