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.