简体   繁体   中英

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.

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

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"]]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM