Hi guys! I'm writing an iOS application. I'd like to ask if there is any module or something like that to achieve what i want. I'm trying to restore the state of my application's UI after the OS stops my app for being in the background for too long or whatever reason. It has a rather complex window hierarchy. For example: the user can open the same window from two different windows. I could store that information in an array like i would do in a stack. But my problem starts when i need to call the creation of each window in order to restore the UI's state. I read that UIKit handles it natively and i'm looking for something that does that or that least simplifies my work.
Thanks!