跟踪 MKMapView 网络连接?

发布于 2024-09-06 17:08:22 字数 111 浏览 1 评论 0原文

是否有可能知道地图何时完全加载其所有数据(我知道您可以使用其他连接),然后执行某些操作?基本上我只想在地图完全加载时执行任务,而不是显示网络信号差的灰色方块?

非常感谢

朱尔斯

is it possible to know when the map has fully loaded all of its data (I know u can with other connections) and then perform some action? Basically I want to do a task only if and when the map has fully loaded and not with the grey squares that show with poor network signal?

Many thanks

Jules

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

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

发布评论

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

评论(1

不弃不离 2024-09-13 17:08:22

实现 MKMapViewDelegate 协议的适当方法:

– mapViewWillStartLoadingMap:
– mapViewDidFinishLoadingMap:
– mapViewDidFailLoadingMap:withError:

Implement the appropriate methods of the MKMapViewDelegate protocol:

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