Hello
If the user received a call during application running, how to automatically open the application after call ended. And how to restore the last session, so that the user would not start from the beginning?
Thanks
Hello
If the user received a call during application running, how to automatically open the application after call ended. And how to restore the last session, so that the user would not start from the beginning?
Thanks
You need to implement the following methods from the UIApplicationDelegate protocol:
applicationWillTerminate will give a few seconds to save your apps current state. The easiest way to save state is through the NSUserDefaults class. When the app starts again you read your state from NSUserDefaults and restore the app to its previous state.