Instance Method

initCircularRegionWithCenter:radius:identifier:

Initializes and returns a region object defining a circular area.

Declaration

- (instancetype)initCircularRegionWithCenter:(CLLocationCoordinate2D)center radius:(CLLocationDistance)radius identifier:(NSString *)identifier;

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.

See Also

Deprecated

- containsCoordinate:

Returns a Boolean value indicating whether the region contains the specified coordinate.

Deprecated
center

The center point of the region.

Deprecated
radius

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

Deprecated