O'Reilly logo

Building Apple Watch Projects by Stuart Grimshaw

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Plot Buddy – All about Location

Naturally, one of the most important features of mobile devices is their ability to find their own location, whether using GPS sensors or cell data tower locations, or whatever. The Apple Watch is quite capable of capturing location data, either using the iPhone's GPS or when the iPhone is not present, translating its accelerometer data into location data. A pretty neat trick, from a development perspective, and one which enables the user to leave the phone where it is and take off with just the watch.

In developing this app, we will look at several new aspects of programming with the WatchKit framework, as well as a couple of techniques that apply equally to watchOS and iOS development. They include the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required