A set of localized keywords that can help users find the activity in search results.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- Foundation
A set of localized keywords that can help users find the activity in search results.
SDKs
Framework
var activity Type: String
The activity type with which the user activity object was created.
var title: String?
An optional, user-visible title for this activity, such as a document name or web page title.
var required User Info Keys: Set<String>?
A set of keys that represent the minimal information about the activity that should be stored for later restoration.
var user Info: [Any Hashable : Any]?
A dictionary containing app-specific state information needed to continue an activity on another device.
func add User Info Entries(from: [Any Hashable : Any])
Adds the contents of the specified dictionary to the user info dictionary.
var needs Save: Bool
Indicates that the state of the activity needs to be updated.
var content Attribute Set: CSSearchable Item Attribute Set?
A set of properties that describe the activity.
var persistent Identifier: NSUser Activity Persistent Identifier?
A value used to identify the user activity.