iPhone MapKit,获取掉落的图钉的位置
我正在创建一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我有一个关于可拖动图钉的很好的教程。
源代码可用:http://github.com/digdog/MapKitDragAndDrop
I've a good tutorial regarding the draggable pin.
The source code is available: http://github.com/digdog/MapKitDragAndDrop