Title describes it all. Is it possible and how to do it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just implement the
-applicationDidBecomeActive:method in your application. You can do whatever you’d normally do to set up the app’s internal state. In fact, if you want the app to ‘start over’, you can probably move much of your code from-application:didFinishLaunchingWithOptions:to-applicationDidBecomeActive:. For example, you might use UIStoryboard’s-instantiateViewControllerWithIdentifier:to reload your initial view controller and then set it as the window’s root view controller.