[英]how can i integrate google maps API for my iPhone application?
I want to use Google Maps on my iPhone application. 我想在我的iPhone应用程序上使用Google Maps。
I am finding it difficult to get the xml parser code for it though. 我发现很难获得它的xml解析器代码。
Add the mapKit Framework to your framework folder. 将mapKit Framework添加到您的framework文件夹。
In your viewController.h file add code:- 在您的viewController.h文件中添加代码:
#import <MapKit/MapKit.h>
In your viewController.m file:- 在您的viewController.m文件中:
[UIApplication sharedApplication openURL:[[NSURL alloc] initWithString: @"http://maps.google.com/maps?q=London"]]
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.