Join Tammy Coron for an in-depth discussion in this video Introduction to Handoff, part of iOS 9 Handoff In Depth.
- [Voiceover] Let's start with a brief introduction to handoff. Handoff was introduced with iOS 8 and OS X Yosemite as part of Apple's Continuity feature set. At its core, handoff allows you to transfer application data from one device to another device using Bluetooth. Say for example you begin a new message in your mail app on your iPhone. After a short time, you decide to work on your Mac or maybe your iPad. Handoff allows you to do this. It does this by broadcasting its activities from one handoff enabled device to other handoff enabled devices.
If you opt to pick up this activity on another device, the data is transferred to that new device and you may resume the activity from there. Although working with handoff is relatively straightforward, there are a few things of which you need to be aware. Firstly, handoff must be enabled on the device in order for it to work. On iOS, this can be done from the settings, general, handoff, and suggested app section. On OS X, this is done in settings, general.
Secondly, in order for handoff to work, each device must be logged into the same iCloud account. Finally, since handoff is a proximity based feature, you must have Bluetooth enabled and your device must be Bluetooth LE compatible. The great thing about handoff is that Apple supports handoff in a variety of their own applications such as Safari, Mail, Maps, Contacts, Notes, Calendar, and Reminders.
But as a developer, your apps can also be designed to support handoff and that's what we'll focus on in the rest of this course.
- Getting started with Handoff interactions
- Understanding activities and activity types
- Implementing Handoff support
- Creating, updating, and continuing an activity
- Handling errors with Handoff interactions