An optional, user-visible title for this activity, such as a document name or web page title.
SDKs
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
var title: String? { get set }
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.