iPad AirPlay 和镜像 SDK 支持

发布于 2024-12-17 14:54:09 字数 158 浏览 5 评论 0原文

不确定我是否看过文档,但我没有看到任何与在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空城仅有旧梦在 2024-12-24 14:54:09

关于你的第一个问题(你确实应该为此创建两个问题),我已经在这里回答:

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文