Possible memory mangement problem
I have a UINavigationController that loads and pushes a series of different view controllers. Sometimes when returning to a previously loaded view controller (popViewController) data that was programmaticly set to uiview outlets disappears such as text on UILabels and images on UIImageViews.
This also happens to a UIScrollView that is added as a subview dynamically, the entire subview and all its contents disappear but the reference isnt nil.
I feel it could be a memory management issue but I'm new to iphone dev and I don't completely understand the rules.
EDIT: Solved. The OS is sending the memory warning message which causes the subviews to get purged from memory.
Last edited by seesharp; 01-14-2010 at 02:19 PM.
|