What should I do when my app recieves a memory warning?
In didReceiveMemoryWarning, you should release any cached or non-essential items to prevent running out of memory completely.
didReceiveMemoryWarning