An abstract class for defining an area that can be tracked.
- iOS 4.0+
- macOS 10.7+
- tvOS 9.0+
- watchOS 2.0+
CLRegion class defines an abstract area that can be tracked. In iOS, you do not create instances of this class directly; instead, you instantiate subclasses that define specific types of regions. In macOS, you create instances of this class and use them to store the region information. After you create a region, you must register it with a
CLLocation object. The location manager generates appropriate events whenever the user crosses the boundaries of the region.