State restoration is an essential component of scene-based applications. Apple introduced view-controller-based state restoration several years ago in iOS 6. The company deprecated view-controller-based state restoration in iOS 13 in favor of user-activity-based state restoration. In this episode, you learn what user-activity-based state restoration is and how you can adopt it in your projects.