Hacker News new | ask | show | jobs
by tinus_hn 1950 days ago
It has been a while since I wrote iOS app code but I’m pretty sure iOS does not, although the libraries provide a mechanism you have to save and restore state yourself. And iOS doesn’t swap, it just kills apps when it needs memory.

Anyway, how would you handle connections to remote servers?

1 comments

iOS does sometimes swap, but only suspended processes, so you won't notice from inside the app.
So how do you know? Is it documented somewhere? All I could find was one unclear mention that could also be about the automatic mechanisms built in to storyboards.
Probably not. It's patented though. https://patents.google.com/patent/US9720617B2/en