Video Tutorial: WatchKit Part 14: Handoff

In this WatchKit tutorial you’ll learn how to take advantage of Handoff to launch different interface controllers based on what’s being displayed by the Glance. By Mic Pringle.

Leave a rating/review
Save for later
Share

Contents

Hide contents

Video Tutorial: WatchKit Part 14: Handoff

0 mins

Challenge

Your challenge is waiting for you in the next video. Keep watching this series to find your next challenge!

Note: Please note that the project we’ve provided here will run out-of-the-box. You will first need to make the updates shown here before compiling and running the project.

Download lecture slides

Download demo starter

Download demo finished

View previous video: Part 13: Glances

View next video: Part 15: Maps

Errata

  1. With Xcode 6.2 Beta 4, Apple has changed the way Handoff works. Specifically the method actionForUserActivity(_:context:) has been replaced with handleUserActivity(_:). You’re no longer expected to return the identifier of the interface controller you want to display, but simply present that interface controller yourself from within the method. The completed demo has been updated to reflect these changes.
Mic Pringle

Contributors

Mic Pringle

Author

Over 300 content creators. Join our team.