The iPhone doesn't swap because its flash memory is REALLY CRAPPY. It's terribly slow at even the easiest stuff like streaming reads. Swapping to it would cause epic grinding, so they don't do it (the flash wear that people usually trot out is irrelevant).