2 ms·
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 y
by tinus_hn 6y 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?
- astrange 6y agoiOS does sometimes swap, but only suspended processes, so you won't notice from inside the app.
- tinus_hn 6y agoSo 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.
- astrange 6y agoProbably not. It's patented though. https://patents.google.com/patent/US9720617B2/en https://patents.google.com/patent/US9720617B2/en