【问题标题】:How to resolve the memory issue with Map on iOS 6如何解决 iOS 6 上 Map 的内存问题
【发布时间】:2012-12-26 03:35:48
【问题描述】:

我在 iOS 6 上创建了一个显示地图的应用程序。问题在于,仅在与地图的简单交互(即捏合、平移和拖动操作)中,内存分配就会大大增加。我认为 iOS 6 中的 Mapkit 可能有一些我不知道的增强功能,所以我尝试了Sample Code of Raywenderlich,但我仍然面临同样的问题。请看一下我附上的图片。我只是将地图拖了一段时间,分配了 55MB。我已经在模拟器上对此进行了测试,但在设备上,应用程序很快就会崩溃。请在这方面以任何方式提供一些帮助!

【问题讨论】:

  • 你是如何创建/分配地图视图的?

标签: memory-management ios6 crash mapkit


【解决方案1】:

从表面上看,这个问题似乎只在拖动和缩放时影响 iOS 6 地图。已经提出了各种热修复程序来解决此问题。但是,这似乎是一个需要 Apple 解决的错误。

这个问题已经提出了解决方案:iOS6 MKMapView using a ton of memory, to the point of crashing the app, anyone else notice this?

编辑: 关于 stackoverflow 的一些其他问题声称此问题。

  1. Guide to acceptable "Live Bytes" of iOS6 app using MKMapView
  2. MKMapView memory usage steadily increasing
  3. Memory usage of MKMapView is very high

【讨论】:

    猜你喜欢
    • 2011-04-13
    • 1970-01-01
    • 1970-01-01
    • 2012-05-23
    • 1970-01-01
    • 2019-10-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多