I think you might find this helpful: http://stackoverflow.com/questions/4980739/uiview-backgroundcolor-leaking-memory-if-image-is-used
Dimitris Tavlikos Software Developer Email: [email protected] Twitter: http://twitter.com/#!/dtavlikos Blog: http://software.tavlikos.com On Jul 7, 2011, at 10:03 AM, Jon Hopkins wrote: > Hi David, > > Its a magazine app where I dynamically add and remove view-based > subcomponents to a UIScrollView. The app is suffering from memory > Problems and crashing. My simple test App was a single timer and a function > to remove any views, and then add a new one. This crashed > When using a UIView with background image, but not with a UIImageView. I > would like to understand why. > > Some of the subcomponents are UIScrollViews, some are WebViews, some are > Gallery components.It is still crashing after around 3 minutes. > I have added destructors to all my components to removefrom SuperView and > Dispose the children. > I also have a recursive method to remove all children from a container view. > Hope this is clearer. > Jon > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
