iPad AirPlay and Mirroring SDK Support

江枫思渺然 提交于 2019-12-24 15:21:36

问题


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.


回答1:


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).



来源:https://stackoverflow.com/questions/8231868/ipad-airplay-and-mirroring-sdk-support

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!