Skip to main content

Determining Location

  • Chapter
  • First Online:
Beginning iPhone Development with Swift 3

Abstract

Every iOS device has the ability to determine where in the world it is, using a framework called Core Location. iOS also includes the Map Kit framework, which lets you easily create a live interactive map that shows any locations you like, including, of course, the user’s location. In this chapter, we’ll work with both of these frameworks. Core Location can actually leverage three technologies to do this: GPS, cell ID location, and Wi-Fi Positioning Service (WPS). GPS provides the most accurate positioning of the three technologies, but it is not available on first-generation iPhones, iPod touches, or Wi-Fi-only iPads. In short, any device with at least a 3G data connection also contains a GPS unit. GPS reads microwave signals from multiple satellites to determine the current location.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Molly Maskrey, Kim Topley, David Mark, Fredrik Olsson and Jeff Lamarche

About this chapter

Cite this chapter

Maskrey, M., Topley, K., Mark, D., Olsson, F., Lamarche, J. (2016). Determining Location. In: Beginning iPhone Development with Swift 3. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2223-2_19

Download citation

Publish with us

Policies and ethics