I believe that in iOS, priority is given to recently used applications. When RAM dwindles, low priority applications are flat out killed. Source? This is going off my vague recollection of the background process flowchart PDF someone posted a while ago.