The user activity information for restoring your app to its previous state.
- iOS 13.0+
- Mac Catalyst 13.0+
- tvOS 13.0+
If this property contains one or more
NSUser objects, use those objects to restore the state of your scene to its previous configuration. You create user activity objects at key moments in your scene's lifetime and register them with the system. Your activity objects specify the tasks your scene was managing. For example, if the user was browsing a web page, your activity object contains the URL of that page. Use the information in the activity object to configure your scene's UI and restore any data associated with the given task.
This property does not contain user activity objects related to Handoff. At connection time, UIKit delivers only the type of a Handoff interaction in the
handoff property. Later, it calls additional methods of the delegate to deliver the
NSUser object itself.