iPhone Development - Lessons in memory management

前端 未结 5 1777
既然无缘
既然无缘 2021-02-04 15:47

I need lessons in memory management. I have an application that uses multiple views (around 10), some of these are attached to tab controller. Problem is that I\'m using images

5条回答
  •  攒了一身酷
    2021-02-04 16:43

    For performance reasons, Apple recommends that you retain/release objects yourself whenever possible. autoreleasing them can cause excess memory usage as the autoreleased objects aren't always released immediately.

    In other words, if you know you're done with an object, explicitly release it.

提交回复
热议问题