Instance Property


A Boolean value indicating whether crossing a geographic region boundary delivers only one notification.


var regionTriggersOnce: Bool { get set }


When the value of this property is true, the user is notified only upon the first crossing the boundary of the target region. After the first crossing, the local notification is unscheduled. When the value of this property is false, notifications are delivered with each boundary crossing. The default value of this property is true.

The region object itself defines whether the notification is triggered when the user enters or exits the region.

See Also

Scheduling a Local Notification

var fireDate: Date?

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

var timeZone: TimeZone?

The time zone of the notification’s fire date.

var repeatInterval: NSCalendar.Unit

The calendar interval at which to reschedule the notification.

var repeatCalendar: Calendar?

The calendar the system should refer to when it reschedules a repeating notification.

var region: CLRegion?

The geographic region that triggers the notification.