i have created one app with 2 viewcontroller embed with navigation controller. the 1st view controller only consist of one button(to trigger seague to 2nd view controller) and 2nd view controller consist only one UIImageView with one high resolution image(300MB). When it is showing 2nd view controller the memory tooks around 300 MB and i return to 1st view controller (popviewcontroller) the memory usage still consume 300MB. After some research i guess the image loaded is still store in the cache and it is not released. So my question is how can i manually release the image so the memory usage can goes down?
EDITED Hi all, answer to my own question.Use "autoreleasepool" would do the job.