user619008
user619008

Reputation: 37

how can i integrate google maps API for my iPhone application?

I want to use Google Maps on my iPhone application.

I am finding it difficult to get the xml parser code for it though.

Upvotes: 0

Views: 7345

Answers (2)

Gypsa
Gypsa

Reputation: 11314

Add the mapKit Framework to your framework folder.

In your viewController.h file add code:-

#import <MapKit/MapKit.h>

In your viewController.m file:-

[UIApplication sharedApplication openURL:[[NSURL alloc] initWithString: @"http://maps.google.com/maps?q=London"]]

Upvotes: 2

petert
petert

Reputation: 6692

The SDK includes the MapKit framework. See this google tutorial to get started.

Upvotes: 4

Related Questions