Determine the current latitude and longitude of a device. Configure and schedule the delivery of location-related events.
- iOS 2.0+
- macOS 10.6+
- tvOS 9.0+
- watchOS 2.0+
The Core Location framework lets you determine the current location or heading associated with a device. The framework uses the available hardware to determine the user’s position and heading. You use the classes and protocols in this framework to configure and schedule the delivery of location and heading events. You can also use it to define geographic regions and monitor when the user crosses the boundaries of those regions. In iOS, you can also define a region around a Bluetooth beacon.