A value indicating whether an alarm is triggered by entering or exiting a region.


enum EKAlarmProximity : Int



case none

The alarm has no proximity trigger.

case enter

The alarm is set to fire when entering a region.

case leave

The alarm is set to fire when leaving a region.

See Also

Setting GeoFence-based Alarms

var proximity: EKAlarmProximity

A value indicating how a location-based alarm is triggered.

var structuredLocation: EKStructuredLocation?

The location to trigger an alarm.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software