Instance Property

notifyOnEntry

A Boolean indicating that notifications are generated upon entry into the region.

Declaration

var notifyOnEntry: Bool { get set }

Discussion

When this property is true, a device crossing from outside the region to inside the region triggers the delivery of a notification. If the property is false, a notification is not generated. The default value of this property is true.

If the app is not running when a boundary crossing occurs, the system launches the app into the background to handle it. Upon launch, your app must configure new location manager and delegate objects to receive the notification. The notification is sent to your delegate’s locationManager(_:didEnterRegion:) method.

See Also

Configuring Notification Delivery

var notifyOnExit: Bool

A Boolean indicating that notifications are generated upon exit from the region.