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.
我一直在寻找一种方法来在显示器或投影仪上显示iPhone屏幕(而不是模拟器)以进行演示。以前的SO帖子建议越狱(Veency,iDemo / DemoGod,screensplitr)或模拟器。
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.
发行说明iOS 3.2(外部显示器支持)和iOS 4.0(继承改进)提到应该可以将外部显示器连接到iOS 4.0设备。
Is it now possible to demo an iPhone device on a monitor without using the simulator, or are the release notes about other improvements?
现在可以在不使用模拟器的情况下在显示器上演示iPhone设备,还是有关其他改进的发行说明?
Anyone tried to display an iOS 4.0 device on a projector or monitor?
有人试图在投影仪或显示器上显示iOS 4.0设备吗?
Update 22.Jul.2010:
更新22.Jul.2010:
- To mirror iPhone screen: Jailbreak and use Veency, iDemo or screensplitr
- 镜像iPhone屏幕:越狱并使用Veency,iDemo或screensplitr
- To output to external device from your application: Implement External Display Support in your app in iOS 3.2, 4.0
- 从应用程序输出到外部设备:在iOS 3.2,4.0中的应用程序中实现外部显示器支持
Update 15.Apr.2011 ;))
更新15.Apr.2011;))
- It is now possible to mirror iPad2 on a monitor
- 现在可以在显示器上镜像iPad2
Update 1.Dec.2011:
更新1.Dec.2011:
- It is now possible to mirror iPhone 4S on a monitor
- 现在可以在显示器上镜像iPhone 4S
4 个解决方案
#1
12
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.
iPhone 4支持随iPad一起推出的VGA适配器。在您的应用程序中,任何外部显示都显示为其他UIScreen实例。您可以创建UIWindow,将其与UIScreen关联,并将内容放在您希望在辅助监视器上显示的位置。
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.
我将在iTunes U的课程视频中展示如何做到这一点,并在课程笔记中提供一些代码。 Matt Gemmell也有一篇关于这个主题的精彩文章。
#2
7
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.
http://code.google.com/p/iphoneos-screen-mirroring/具有允许您使用上述电缆镜像屏幕的代码。此代码使用私有apis,因此请确保您不附带它。这可以通过在xcode中创建一个新目标并有条件地编译镜像代码来完成。
#3
3
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.
检查Apple Composite AV电缆和Apple Component AV电缆。这些可以连接到电视和电脑,因此您可以找到一种方法将其放在投影仪上。
#4
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.
从iPad 2开始,“Apple VGA适配器就像你在iPad 2上看到的一样,这样房间里的每个人都可以享受它。”相同的硬件需要在原始iPad上进行特殊编码,然后在iPad 2上默认镜像。
#1
12
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.
iPhone 4支持随iPad一起推出的VGA适配器。在您的应用程序中,任何外部显示都显示为其他UIScreen实例。您可以创建UIWindow,将其与UIScreen关联,并将内容放在您希望在辅助监视器上显示的位置。
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.
我将在iTunes U的课程视频中展示如何做到这一点,并在课程笔记中提供一些代码。 Matt Gemmell也有一篇关于这个主题的精彩文章。
#2
7
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.
http://code.google.com/p/iphoneos-screen-mirroring/具有允许您使用上述电缆镜像屏幕的代码。此代码使用私有apis,因此请确保您不附带它。这可以通过在xcode中创建一个新目标并有条件地编译镜像代码来完成。
#3
3
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.
检查Apple Composite AV电缆和Apple Component AV电缆。这些可以连接到电视和电脑,因此您可以找到一种方法将其放在投影仪上。
#4
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.
从iPad 2开始,“Apple VGA适配器就像你在iPad 2上看到的一样,这样房间里的每个人都可以享受它。”相同的硬件需要在原始iPad上进行特殊编码,然后在iPad 2上默认镜像。