开发者

IPHONE: releasing cached data

Here is a fast one: is there any method for releasing any cached data an application may be using and freeing memory?

I mean data that is cached automatically by the iPhone when you do a Page Curl or other effect in a view, when you load a picture, etc.

开发者_Go百科The allocations I did I can, obviously release but what about the allocations done by the system itself automatically? Any way to release them?

thanks for any help.


No. The system will take care of releasing the objects when it is finished with them, and over-releasing the objects will only cause problems.

For the caches that the system keeps (such as the tabs in Safari), the system will release those automatically when it sends your application the low memory warnings.

There’s nothing you can do about the objects that you don’t allocate yourself.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜