Thus, my application relies on an Internet connection, and each time the application opens from the main screen, it checks the use of Reachability, and then allows the user to continue or inform them to connect. My problem however is that when the application resumes from multitasking, it skips the initial view controller and goes straight to where they were. Is there any quick way so that I can update or restart the application when it resumes from multitasking?
thanks
EDIT When using this code:
let storyboard = UIStoryboard(name: "MainStoryboard", bundle: nil) self.window.rootViewController = MainStoryboard.instantiateInitialViewController()
I get the expected announcement error. 
source share