Updates the state of the given user activity.
- iOS 8.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The user activity to be updated.
Subclasses override this method to update the state of the given user activity. You should add state representing the user's activity into the
NSUser object using its
add method. When the state is dirty, you should set the
needs property of the
YES, and this method will be called at an appropriate time.
NSUser object managed by UIKit is updated, an empty
user dictionary is given to the
NSUser object, and all of the objects associated with the
NSUser are then sent an