© Molly Maskrey and Wallace Wang 2018

Molly Maskrey and Wallace Wang, Pro iPhone Development with Swift 4, https://doi.org/10.1007/978-1-4842-3381-8_4

4. Determining Location

Molly Maskrey and Wallace Wang2

(1)Parker, Colorado, USA

(2)San Diego, California, USA

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 ...

Get Pro iPhone Development with Swift 4: Design and Manage Top Quality Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.