Instance Method


Restores the state needed to continue the given user activity.


- (void)restoreUserActivityState:(NSUserActivity *)activity;



The user activity to be continued.


Subclasses override this method to restore the responder’s state with the given user activity. The system calls it on any objects passed to the restoration handler given to application:continueUserActivity:restorationHandler:. The override should use the state data contained in the given user activity’s userInfo dictionary to restore the object.

You may also call this method directly if the app delegate chooses not to use the restoration handler.

See Also

Supporting User Activities


An object encapsulating a user activity supported by this responder.

- updateUserActivityState:

Updates the state of the given user activity.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software