Instance Method

requestStateForRegion:

Retrieves the state of a region asynchronously.

Declaration

- (void)requestStateForRegion:(CLRegion *)region;

Parameters

region

The region whose state you want to know. This object must be an instance of one of the standard region subclasses provided by Map Kit. You cannot use this method to determine the state of custom regions you define yourself.

Discussion

This method performs the request asynchronously and delivers the results to the location manager’s delegate. You must implement the locationManager:didDetermineState:forRegion: method in the delegate to receive the results.

If the region parameter contains an unknown type of region object, this method does nothing.

See Also

Initiating Beacon Ranging Requests

- startRangingBeaconsInRegion:

Starts the delivery of notifications for the specified beacon region.

Deprecated
- stopRangingBeaconsInRegion:

Stops the delivery of notifications for the specified beacon region.

Deprecated
rangedRegions

The set of regions currently being tracked using ranging.

Deprecated
- startRangingBeaconsSatisfyingConstraint:

Starts the delivery of notifications for the specified beacon constraints.

Beta
- stopRangingBeaconsSatisfyingConstraint:

Stops the delivery of notifications for the specified beacon constraints.

Beta
rangedBeaconConstraints

The set of beacon constraints currently being tracked using ranging.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software