可以在不越狱的情况下将 iPhone/iPad 屏幕镜像到显示器上吗?
我一直在寻找一种方法来在显示器或投影仪上显示 iPhone 屏幕(而不是模拟器)以进行演示。
上一篇SO post建议越狱( Veency,iDemo/DemoGod, screenplitr)或模拟器。
发行说明iOS 3.2(外部显示器支持) 和 iOS 4.0(继承的改进) 提到应该可以将外部显示器连接到 iOS 4.0 设备.
现在是否可以在不使用模拟器的情况下在显示器上演示 iPhone 设备,或者发行说明是否有其他改进?
有人尝试在投影仪或显示器上显示 iOS 4.0 设备吗?
2010 年 7 月 22 日更新:
- 镜像 iPhone 屏幕:越狱 并使用 Veency、iDemo 或 screenplitr
- 输出到 您的外部设备 应用程序:在 iOS 的应用程序中实现外部显示支持 3.2、4.0
2011 年 4 月 15 日更新 ;))
2011 年 12 月 1 日更新:
I have been looking for a way to show the iPhone screen (not the simulator) on a monitor or projector for demo purposes.
Previous SO post suggested jailbreak (Veency, iDemo/DemoGod, screensplitr) or simulator.
Release notes iOS 3.2 (External Display Support) and iOS 4.0 (Inherited Improvements) mentions that it should be possible to connect external displays to iOS 4.0 devices.
Is it now possible to demo an iPhone device on a monitor without using the simulator, or are the release notes about other improvements?
Anyone tried to display an iOS 4.0 device on a projector or monitor?
Update 22.Jul.2010:
- To mirror iPhone screen: Jailbreak
and use Veency, iDemo or
screensplitr - To output to
external device from your
application: Implement External Display Support in your app in iOS
3.2, 4.0
Update 15.Apr.2011 ;))
Update 1.Dec.2011:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
iPhone 4 支持随 iPad 一起推出的 VGA 适配器。在您的应用程序中,任何外部显示器都显示为附加的 UIScreen 实例。您可以创建一个 UIWindow,将其与 UIScreen 关联,然后将您希望在辅助监视器上显示的内容放置在那里。
我在 我在 iTunes U 上的课程,并在 课程笔记。 Matt Gemmell 也有一篇关于这个主题的精彩文章。
The iPhone 4 supports the VGA adapter that launched with the iPad. Within your application, any external display appears as an additional UIScreen instance. You can create a UIWindow, associate it with the UIScreen, and place content there that you would like to have displayed on the secondary monitor.
I show how to do this in the video for the iPad session of my course on iTunes U, and provide some code for this in the course notes. Matt Gemmell also has a nice writeup on the subject.
http://code.google.com/p/iphoneos-screen-mirroring/ 有代码允许您使用上述电缆镜像屏幕。此代码使用私有 api,因此请确保您不附带它。这可以通过在 xcode 中创建一个新目标并有条件地编译镜像代码来完成。
http://code.google.com/p/iphoneos-screen-mirroring/ Has code to allow you to mirror your screen using the cables mentioned above. This code uses private apis so make sure you don't ship with it. This can be done by creating a new target in xcode and conditionally compiling the mirroring code in.
检查 Apple Composite AV Cable 和 Apple 分量 AV 电缆。它们连接到电视和计算机,因此您可能可以找到一种方法将其连接到投影仪上。
Check Apple Composite AV Cable and Apple Component AV Cable. These connect to a TV and computer so may be you can find a way to get it on a projector.
从 iPad 2 开始,“Apple VGA 适配器 与您在 iPad 2 上看到的完全一致,因此让房间里的每个人都能享受它。”默认情况下,相同的硬件在原始 iPad 上需要特殊编码,然后在 iPad 2 上进行镜像。
Since iPad 2 "The Apple VGA Adapter mirrors exactly what you see on iPad 2 so that everyone in the room can enjoy it." Same hardware that needs special coding on original iPad then on iPad 2 by default mirrors.
如果您使用智能电视作为显示器,则可以使用AirPlay功能。不过,并非所有智能电视都支持此功能。您只需将 iPhone 和电视连接到同一网络即可进行测试,看看是否可以使用 AirPlay。如果没有,您可以尝试MirrorMeister 的免费镜像应用,它适用于所有 iOS 和 macOS 设备,只要您连接到同一个 Wi-Fi。
If you are using a smart TV as a monitor, you can use the AirPlay function. However, not all Smart TVs support this function. You can simply test it by connecting your iPhone and TV to the same network to see if you can use AirPlay. If not, you can try MirrorMeister's free mirroring app, it works on all iOS and macOS devices as long as you connect to the same Wi-Fi.