反向地理编码器委托方法没有被调用?
我正在开发一个 iPhone 应用程序,它需要找出当前的城市/州。我正在使用反向地理编码。但它的委托方法没有被调用。我不确定我哪里出错了,因为我看了几个例子。如果有人在这里帮助我,我将非常感激。
I am working on an iPhone app which needs to find out current city/State. I am using reversegeocoding. But its delegate methods are not get called. I am not sure where I am going wrong because I looked at couple of examples. I will really appreciate if anyone help me out here.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你有可见的地图吗?我相信如果没有可见的地图,该服务就无法工作。否则,它也会违反 Google Maps API 服务条款。
Do you have a map visible? I believe the service does not work without a visible map. If not, it would also violate the Google Maps API terms of service.
您是否设置了 MKReverseGeocoder 的委托属性并包含 MKReverseGeocoderDelegate 中的必要函数?标记为已弃用的方法/类/服务并不意味着它不起作用。
Did you set the delegate property of MKReverseGeocoder and included the necessary function from MKReverseGeocoderDelegate? A method/class/service marked as deprecared means not that is does not work.