A geographic region that is defined by a center point and radius.


The CLCircularRegion class defines the location and boundaries for a circular geographic region. You can use instances of this class to define geo fences for a specific location. The crossing of a geo fence’s boundary causes the location manager to notify its delegate.


Initializing a Circular Region

init(center: CLLocationCoordinate2D, radius: CLLocationDistance, identifier: String)

Initializes and returns a region object defining a circular geographic area.

Accessing a Region’s Attributes

var center: CLLocationCoordinate2D

The center point of the geographic area.

var radius: CLLocationDistance

The radius (measured in meters) that defines the geographic area’s outer boundary.

Hit Testing in a Region

func contains(CLLocationCoordinate2D)

Returns a Boolean value indicating whether the geographic area contains the specified coordinate.


Inherits From