iPhone MapKit,获取掉落的图钉的位置

发布于 2024-09-10 06:57:00 字数 198 浏览 1 评论 0原文

我正在创建一个 iPhone 应用程序,让用户可以将图钉放在他们想要的任何位置。在他们放下图钉后,用户单击它,我希望它在标注中显示图钉的位置作为副标题。

我已经设置了地图视图以及呼出功能,并且用户可以将图钉放置在地图上他们想要的任何位置。

我知道有一个关于拖放图钉的教程,它们确实涵盖了此类内容。但我实际上很困惑,想知道是否有人可以指出我正确的方向。

I'm creating an iPhone application that gets the user to drop a pin where ever they want. After they drop the pin the user then clicks on it and i want it to show the location of the pin in the call out as the subtitle.

I have the mapview set up as well as the call out working and also the user is able to drop the pin where ever they want to on the map.

I know there is a tutorial for dragging and dropping a pin and they do cover something of this sort. But i'm actually really confused and was wondering if someone could point me in the right direction.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

末骤雨初歇 2024-09-17 06:57:00

我有一个关于可拖动图钉的很好的教程。

源代码可用:http://github.com/digdog/MapKitDragAndDrop

I've a good tutorial regarding the draggable pin.

The source code is available: http://github.com/digdog/MapKitDragAndDrop

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文