Instance Property

userInfo

A dictionary containing app-specific state information needed to continue an activity on another device.

Declaration

@property(copy) NSDictionary *userInfo;

Discussion

Each key and value must be of the following types: NSArray, NSData, NSDate, NSDictionary, NSNull, NSNumber, NSSet, NSString, or NSURL. The system may translate file scheme URLs that refer to iCloud documents to valid file URLs on a continuing device.

See Also

Accessing Activity Information

activityType

The activity type with which the user activity object was created.

title

An optional, user-visible title for this activity, such as a document name or web page title.

requiredUserInfoKeys

A set of keys that represent the minimal information about the activity that should be stored for later restoration.

- addUserInfoEntriesFromDictionary:

Adds the contents of the specified dictionary to the user info dictionary.

needsSave

Indicates that the state of the activity needs to be updated.

contentAttributeSet

A set of properties that describe the activity.

keywords

A set of localized keywords that can help users find the activity in search results.

persistentIdentifier

A value used to identify the 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