清除Mapkit数据

发布于 2024-08-03 08:35:40 字数 125 浏览 1 评论 0原文

我正在运行带 GPS 的 Mapkit。谷歌地图图片开始加载。我将留给计划的另一部分。当我回到 GPS 时,它不再加载谷歌地图上的图片。出于节省内存的原因,我想清除该数据,以便当我返回 GPS 时,它会再次加载图片。有办法做到这一点吗?

I'm running the Mapkit with GPS. The google maps pictures begin to load up. I leave to another part of the program. When I come back to the GPS, it no longer loads the pictures from google maps. For memory saving reasons, I'd like to clear that data so when I come back to the gps, it loads the pictures again. Is there a way to do that?

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

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

发布评论

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

评论(2

小矜持 2024-08-10 08:35:40

我会销毁地图视图控制器实例。

I would destroy the map view controller instance.

娇妻 2024-08-10 08:35:40

在这种情况下,请清除未使用的对象并重新创建地图视图。

In this case, clear your unused objects and recreate your map view.

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