I have an application in which someone logs into the system, and if they run it after sending it to the background for more than 10 minutes, I go out to a small little warning "session expired" and send it to the root view controller (login page) ,
Everything works fine, but I donβt know how to float to the root view controller in the navigation controller stack from the application delegation application WillEnterForeground: method.
I tried saving money with the navigationController on the appDelegate variable, but I'm wondering if the application has been running in the background for several days if iOS starts to release some variables, because at this time I get an error in this method.
Any ideas?
source share