Instance Property

expirationDate

The date after which the activity is no longer eligible for Handoff or indexing.

Declaration

var expirationDate: Date? { get set }

Discussion

If you do not set the value of this property, the system automatically expires the activity after a period of time.

See Also

Specifying the Activity’s Eligibility

var isEligibleForHandoff: Bool

A Boolean value that indicates whether the activity can be continued on another device using Handoff.

var isEligibleForSearch: Bool

A Boolean value that indicates whether the activity should be added to the on-device index.

var isEligibleForPublicIndexing: Bool

A Boolean value that indicates whether the activity can be publicly accessed by all iOS users.

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