Playing video with Apple TV integration

The AirPlay framework is an updated framework that lets you stream audio and video content from any iOS device out to any Airplay-enabled device that is capable of playing audio and video such as television sets and audio systems.

Starting with iOS 5, developers now have the flexibility to incorporate Airplay content into their applications, and have this information presented out to a nearby Apple TV receiver. In this section, we will take a look at how to create a simple application to playback video content on an iOS device, and then take a look at the steps involved to output this to an Apple TV device.

Getting ready

Following on from our previous recipe, create a new Single View Application, and name ...

Get Xcode 4 Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.