iPad AirPlay 和镜像 SDK 支持
不确定我是否看过文档,但我没有看到任何与在 iOS 应用程序中启用 AirPlay 镜像相关的内容。以前有人这样做过吗?或者这只是在应用程序之外完成的事情。
另外,AirPlay 只支持音频/视频,我们是否需要将 PDF 文档转换为图片才能进行 AirPlay?
谢谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
关于你的第一个问题(你确实应该为此创建两个问题),我已经在这里回答:
Airplay from iPad - 在 Apple TV 上显示的单独 UIView
关于你的第二个问题,如果用户已启用Airplay 镜像,Apple TV 屏幕可以以与 iOS 设备主显示屏完全相同的方式绘制为 UIScreen,因此您可以在 iPhone 或 iPad 上以任何方式呈现 PDF 内容(通过 UIView)。
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).