Possible to mirror iPhone/iPad screen on a monitor without jailbreaking?

Kb. picture Kb. · Jul 20, 2010 · Viewed 73.2k times · Source

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:

Answer

Brad Larson picture Brad Larson · Jul 20, 2010

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.