IOS:CoreLocation
lastmod 2018-08-17created 2017-01-035 edits
Determine the current latitude and longitude of a device. Configure and schedule the delivery of location-related events.
Describes how to use GPS and Geo-Magnetic. Most of it is about how to use the CLLocationManager class.
Overview
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.
API References
Use the Core Location framework to determine the current latitude and longitude of a device and to configure and schedule the delivery of location-related events. The framework uses the available hardware to triangulate the user's position based on nearby signal information.
- CLGeocoder Class
- CLPlacemark Class
- CLLocationManager Class
- CLHeading Class
- CLRegion Class
- Core Location Framework
- Core Location Constants
- CLLocationManagerDelegate Protocol
- CLLocation Class
- Core Location Data Types
- Core Location Functions
See also
- IPhone
- GPS: Global Positioning System
- Geo-magnetic sensor: magnetic field sensor
- Gravity sensor (Accelerometer): gravity (acceleration) sensor
- Gyroscope sensor: gyroscope sensor
Favorite site
References
-
Location_awareness_pg.pdf ↩