I was wondering when does iOS releases resources allocated to an app. For example, let’s say I have an app like Angry Birds or something and after playing for some time I close it and kill it from the “task manager” (double click home). When will the resources allocated to the app be released?
Do you have any resources on the subject?
Thanks a lot!
while double click home and close the angry bird , the ios will send kill message to angry bird, so after that ios will reclaim its memory to reuse.after killing the app the memory for that app will also be freed.
u may think of where is the global autorelease pool for app.
take a look at the main function which starts with autorelease pool.