问题描述
我一直在寻找一种方法来在显示器或投影仪上显示iPhone屏幕(而不是模拟器)以进行演示。
上一页建议越狱(,,)或模拟器。
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.
发行说明和提到应该可以将外部显示器连接到iOS 4.0设备。
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.
是吗?现在可以在不使用模拟器的情况下在显示器上演示iPhone设备,还是有关其他改进的发行说明?
Is it now possible to demo an iPhone device on a monitor without using the simulator, or are the release notes about other improvements?
任何人都试图显示iOS 4.0投影仪或显示器上的设备?
Anyone tried to display an iOS 4.0 device on a projector or monitor?
更新22.Jul.2010:
Update 22.Jul.2010:
- 镜像iPhone屏幕:越狱
并使用Veency,iDemo或
screensplitr
- 输出到
外部设备来自您的
应用程序:在您的iOS应用程序中实现外部显示支持
3.2,4.0
更新15.Apr.2011;))
Update 15.Apr.2011 ;))
- It is now possible to mirror iPad2 on a monitor
更新1.Dec.2011:
Update 1.Dec.2011:
- It is now possible to mirror iPhone 4S on a monitor
推荐答案
iPhone 4 。在您的应用程序中,任何外部显示都显示为其他UIScreen实例。您可以创建一个UIWindow,将其与UIScreen关联,并将内容放在您希望在辅助监视器上显示的内容。
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.
我将展示如何在中为此提供一些代码。 Matt Gemmell还有一个。
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.
这篇关于可以在没有越狱的情况下在显示器上镜像iPhone / iPad屏幕吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!