How to remove subviews to release more memory

Posted by Tankista on Stack Overflow See other posts from Stack Overflow or by Tankista
Published on 2010-03-18T15:19:01Z Indexed on 2010/03/18 15:21 UTC
Read the original article Hit count: 260

I have UIScrollView with number of subviews. Each subview is custom UIButton with UIImage. When I load more and more subviews, more and more memory is used. But I remove invisible subviews by removeFromSuperView method. Subviews are removed and stay invisible, but Im afraid that no memory is released. UIImage is image downloaded from internet. Thanx for help.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about memory