Instance Method

containsCoordinate:

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

Declaration

- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate;

Parameters

coordinate

The coordinate to test against the region.

Return Value

YES if the coordinate lies within the region’s boundaries or NO if it does not.

Discussion

In iOS, use a CLCircularRegion object to manage geographic regions.

See Also

Deprecated

- initCircularRegionWithCenter:radius:identifier:

Initializes and returns a region object defining a circular area.

Deprecated
center

The center point of the region.

Deprecated
radius

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

Deprecated