How do you detect memory leaks on iPhone?

后端 未结 13 2463
既然无缘
既然无缘 2020-12-07 15:20

I\'m using the Leaks Instruments feature through Xcode to (try and) find memory leaks. I still haven\'t figured out how to use this program. I click Leaks in the program and

13条回答
  •  一个人的身影
    2020-12-07 15:33

    The memory debugger (button just over the console, next to the view debugger) is quite useful too. It will show you leaks, and you can check /filter easily if objects are still in memory when they shouldn't.

提交回复
热议问题