App State restoration is for the user to come back to the app as they left it last time before it is suspended app. Returning an app to its previous app state its offer a better user experience and saves time for user.
To implement app state restoration you just have to follow steps.
1. Enable app state restoration
2. Set restoration Identifier
3. UIStateRestoring Protocol
4. UIViewControllerRestoration Protocol