Core Location

Download ios eBook

Syntax

  1. desiredAccuracy
  2. distanceFilter
  3. requestLocation()
  4. startUpdatingLocation()
  5. allowDeferredLocationUpdates(untilTraveled:timeout:)
  6. startMonitoringSignificantLocationChanges()
  7. allowDeferredLocationUpdates(untilTraveled:timeout:)
  8. authorizedAlways
  9. authorizedWhenInUse
  10. locationManager(_:didChangeAuthorization:)

Remarks

Simulate a Location at Runtime

  1. Run the app from Xcode.
  2. In the debug bar, click the "Simulate location" button.
  3. Choose a location from the menu.

Simulate location - debug

Related Examples

Stats

211 Contributors: 8
Wednesday, February 8, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook