Brian Liang
Brian Liang

Reputation: 7774

iPad AirPlay and Mirroring SDK Support

Not sure if I have seen it the docs, but I don't see anything relating to enabling AirPlay Mirroring from within an iOS app. Has anyone done this before? or is this something done only outside of the App.

Also with AirPlay, since it only supports Audio/Video, would we have to convert to PDF documents into Images for AirPlay?

Thanks.

Upvotes: 1

Views: 2260

Answers (1)

Rob Reuss
Rob Reuss

Reputation: 1400

Regarding your first question (you should really create two issues for this), I've answered over here:

Airplay from iPad - a separate UIView to display on Apple TV

Regarding your second question, if the user has enabled Airplay mirroring, the Apple TV screen is available to draw to as a UIScreen in exactly the same way as the iOS device primary display, so you would present PDF content in whatever way you are on the iPhone or iPad (via a UIView).

Upvotes: 1

Related Questions