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 ...
Get Developing for Apple Watch 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.