清除Mapkit数据
我正在运行带 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我会销毁地图视图控制器实例。
I would destroy the map view controller instance.
在这种情况下,请清除未使用的对象并重新创建地图视图。
In this case, clear your unused objects and recreate your map view.