init(circularRegionWithCenter:radius:identifier:)
Initializes and returns a region object defining a circular area.
Declaration
init(circularRegionWithCenter center: CLLocationCoordinate2D, radius: CLLocationDistance, identifier: String)Parameters
- center:
The center point of the region.
- radius:
The distance (measured in meters) from the center point that marks the boundary of the region.
- identifier:
A unique identifier to associate with the region object. You use this identifier to differentiate regions within your application. This value must not be
nil.
Return Value
An initialized region object.
Discussion
In iOS, use a CLCircularRegion object to manage geographic regions.