Contents

fireDate

The date and time when the system should deliver the notification.

Declaration

var fireDate: Date? { get set }

Discussion

The fire date is interpreted according to the value specified in the timeZone property. If the specified value is nil or is a date in the past, the notification is delivered immediately.

You may specify a value for this property or the region property but not both. Attempting to schedule a local notification that contains both a region and fire date raises an exception.

See Also

Scheduling a local notification