O'Reilly logo

Developing for Apple Watch by Jeff Kelley

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

Working with Media Playback on Apple Watch

Picture being at a barbecue. You want music playing but you also want the freedom to walk around. Although WatchKit extensions can’t play audio or video, your iPhone app can, and using Apple Watch to control your phone can free you from the leash of an audio cable or a Bluetooth speaker’s range. Instead of a user having to keep her phone on her person, she can leave it plugged into a speaker or charger and use her Apple Watch to control it. There are two steps to integrating your iPhone app with Apple Watch’s remote media capabilities: providing information about what’s currently playing and responding to remote-control events (like the pause or fast-forward buttons).

Providing “Now Playing” Information ...

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