I have a scrollview that shows different images as it\'s scrolled through the pages, like PhotoScroller. I\'m using ARC. When someone scrolls to another page, I set the im
The UIImage's for the pages are all held in an array.
The UIImage
's are not being deallocated when you set the UIImageView
's property to nil
because the array is still holding a reference to them. As for the memory growth, it may be something else that is being allocated. I'd suggest taking a look with Instrument's object allocation instrument to track down what exactly is growing as you scroll.