iPad 通过 VGA 引线镜像 IPHONE 应用程序
我们创建了一个 iPhone 应用程序,我们的客户希望将其显示在投影仪上。他们希望通过 iPad 来完成此操作(尽管该应用程序仅针对 iPhone 设计)。该应用程序在 iPad 上运行良好,但显然不是通过 VGA 电缆进行镜像。
那么问题来了,有没有一种简单的方法可以将输出镜像到投影仪上的iPad屏幕上呢?我知道我可以将投影仪添加为另一个 UIScreen,但我的问题是是否有任何简单的方法可以镜像正在发生的一切?
谢谢
We have created an iPhone app which our client wants to show on a projector. They want to do this via an iPad (although the app is designed ONLY for iPhone). The app runs fine on the iPad, but it obviously isn't mirrored via the VGA cable.
So the question is, is there an easy way to mirror the output to the iPad screen on the projector? I know I can add the projector as another UIScreen, but my question is really whether there is any easy way to just mirror everything that's happening?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 iPad 2 上开箱即用地执行此操作。它通过复制视频缓冲区直接支持显示镜像。不幸的是,如果你打算用老式的方式来解决这个问题,你将不得不创建一个新的 UIScreen,无论你在主屏幕上绘制什么,你也需要绘制到外部屏幕上。当涉及用户交互时,这变得尤其困难。
我建议使用 iPhone 4s 或 iPad 2 进行演示。您将节省大量时间并减少麻烦。
You can do this out of the box on an iPad 2. It directly supports display mirroring by duplicating the video buffer. Unfortunately if you are going to go about this the old fashion way you are going to have to create a new UIScreen and whatever you draw on the mainScreen you need to draw to the external screen too. This gets especially difficult when you involve user interactivity.
I recommend demoing this using an iPhone 4s or an iPad 2. You'll save a lot of time and headaches.