A Boolean value indicating whether crossing a geographic region boundary delivers only one notification.
SDKs
- iOS 8.0–10.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 2.0–3.0Deprecated
Framework
- UIKit
Declaration
var regionTriggersOnce: Bool { get set }
Discussion
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.