In a couple of days I’ll be presenting at the Microsoft TechDays 2016 in the Netherlands. While preparing my sessions on PowerApps, I wanted to mirrow/project my iPhone to my Windows PC for demo purpose. Since the wireless networks at conferences can be flaky I did not want to use that connect. To ensure my demo would work I wanted a solid connection by using the USB cable.
LonelyScreen open source to the rescue
I managed to hook up my iPhone (or iPad) to my Windows PC via USB by using the open source tool LonelyScreen. The most common scenario for mirroring your iPhone is via AirPlay over wireless. Which works fine for LonelyScreen, but does not fit my need!
How mirror your iPhone over USB?
There are a couple of additional steps you need to mirror over USB. You need to setup a network connecting between your iPhone and Windows. This can be done by enabling the Personal Hotspot. This will create a network connection allowing to interact with LonelyScreen.
- Plug in the USB cable into your iPhone and Windows PC
- Open Settings
- Tap on Personal Hotspot
- Enable Personal Hotspot
- Start LonelyScreen on your Windows PC
- Mirror your iPhone via AirPlay to your PC
- Now your iPhone should be shown on LonelyScreen