CGBitmapContextCreate on the iPhone/iPad

前端 未结 8 429

I have a method that needs to parse through a bunch of large PNG images pixel by pixel (the PNGs are 600x600 pixels each). It seems to work great on the Simulator, but on th

8条回答
  •  心在旅途
    2021-01-12 18:10

    Try to Run instruments allocation while you are running the application on device, it cold be' a memory related issue. If you are in a loop, create inside that loop an auto release pool.

提交回复
热议问题