Class

CLRegion

The CLRegion class defines an abstract area that can be tracked. In iOS, you do not create instances of this class directly; instead, you instantiate subclasses that define specific types of regions. In macOS, you create instances of this class and use them to store the region information. After you create a region, you must register it with a CLLocationManager object. The location manager generates appropriate events whenever the user crosses the boundaries of the region.

Overview

To use this class, create an instance of it and use the startMonitoring(for:) method of a CLLocationManager object to begin monitoring it.

Symbols

Accessing a Region’s Attributes

Configuring Notification Delivery

var notifyOnEntry: Bool

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

var notifyOnExit: Bool

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

Constants

CLRegionState

Constants that reflect the relationship of the current location to the region boundaries.

Instance Methods

Relationships

Inherits From