Instance Property

title

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

Declaration

@property(copy) NSString *title;

Discussion

Always specify a title string for activity objects that are eligible for searches, and it is recommended that you include a title string for all user activity objects. For search-related user activity objects, this string is displayed in the search results.

See Also

Accessing Activity Information

activityType

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

requiredUserInfoKeys

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

userInfo

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

- 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.