Retrieves the state of a region asynchronously.
- iOS 7.0+
- macOS 10.10+
- UIKit for Mac 13.0+Beta
- Core Location
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.
This method performs the request asynchronously and delivers the results to the location manager’s delegate. You must implement the
location method in the delegate to receive the results.
region parameter contains an unknown type of region object, this method does nothing.