如何在Xcode中使用MapKit查找位置? [英] How to find location using MapKit in Xcode?

查看:123
本文介绍了如何在Xcode中使用MapKit查找位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我想知道如何在Xcode中使用MapKit?很多人告诉我不要使用谷歌地图网站并将其与UIWebView集成,因为当人们在网页视图中查看位置时似乎有点奇怪,所以我想知道是否有人可以一步一步地帮助我如何设置MapKit,如何确定地图上的地址位置,并找到用户当前位置和精确定位的地址位置之间的路线?对不起,如果我不是一个真正优秀的MapKit程序员,希望有人可以帮助我,谢谢

Hey everyone, I was wondering how to use the MapKit in Xcode? A lot of people told me not to use the Google Map website and integrate it with the UIWebView because it seems a little strange when people are viewing the location in a web view, so I was wondering if anyone can help me step-by-step how to setup MapKit, how pinpoint an address location on the map and find the routes between user's current location and the pinpointed address location? Sorry if I'm not a really good programmer with MapKit and hope someone can help me, thanks

推荐答案

youruimapview.showsUserLocation=TRUE;

这篇关于如何在Xcode中使用MapKit查找位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆