Warning in Custom Map Annotations iPhone

后端 未结 4 1247
南旧
南旧 2020-12-06 07:11

I am using a custom map annotation class for map view in iPhone. Whenever I pop my map view from navigation bar stack I usually see some warnings in console.

MapAnno

4条回答
  •  离开以前
    2020-12-06 07:35

    Are you autoreleasing your annotation before adding it to the MapView?

    If so, try just allocating it, add it to the MapView, then release it.

提交回复
热议问题