开发者

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

开发者 https://www.devze.com 2023-02-15 00:56 出处:网络
开发者_如何学运维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 tutoria
开发者_如何学运维

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

精彩评论

暂无评论...
验证码 换一张
取 消