Awesome
AirPlay Picture
This is concept test of iOS 7/8 using a secondary screen on a AppleTV to display content.
It works both in single screen (device only) and multi screen (device + AppleTV)
The AppleTV screen is loaded using a proposed file architecture where it has its own storyboard file.
The app connects to Flickr and downloads the most recent photos from all over the world displaying them on a UICollectionView. If you're not connected to a AppleTV, the app will work as expected. You tap a cell and it displays the content.
If you're on a AppleTV, it will display the full size picture on the big screen and your device will be abel to control it.
Reacts to display connection and disconnection seamlessly.
How to get it working
-
Clone and open this repository with XCode 5/6.
-
Install the pod dependencies using
pod install
. Only for the FlickrAPI. -
Run on the simulator or device.
-
To activate the second display:
- Simulator: Menu Hardware > External Displays > Desired screen size (usually 720p)
- AppleTV: Just activate AirPlay and mirror your device's screen. Voilá!
Questions?
Just fire an Issue.
Contributions?
Send me a pull request!
Enjoy!