How to solve the problem with the memory level of the 1st level, and then the warning level of the 2nd level of memory?

I use the standard Apple code to scroll + zoom + swap after 10 scrolling the image and swap on my console, gives a warning level of memory level 1, then a warning level of memory level 2, and then crash, how can I stop the breakdown of my application ? I took this code from http://developer.apple.com/library/ios/#samplecode/PhotoScroller/Introduction/Intro.html

+3
source share
3 answers

Have you implemented -(void)didReceiveMemoryWarning? You can release all the images that you are not currently using.

. , (, ), (, ), . , , , . , , , .

+1

, , , . .

.

0

, / .

, , Google. .

0
source

Source: https://habr.com/ru/post/1765956/


All Articles