The set of shared regions monitored by all location manager objects.
- iOS 4.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- Core Location
You cannot add regions to this property directly. Instead, you must register regions by calling the
start method. The regions in this property are shared by all instances of the
CLLocation class in your app.
The objects in this set may not necessarily be the same objects you specified at registration time. Only the region data itself is maintained by the system. Therefore, the only way to uniquely identify a registered region is using its
The location manager persists region data between launches of your app. If your app is terminated and then relaunched, the contents of this property are repopulated with region objects that contain the previously registered data.