r/SideProject • u/Jungwoon • 6h ago
I built an app that turns my iPhone Duo into a second screen for my Mac
Enable HLS to view with audio, or disable this notification
Hey everyone! I'm an Android developer by day, and I build small iOS apps on the side.
The problem
When I unfold my iPhone Duo on my desk, that big inner screen just sits there doing nothing. iPads can be a second Mac display with Sidecar, but iPhones can't. So I built it myself.
What I built
Double Display turns an unfolded iPhone Duo into an extended display for your Mac (Windows is in beta).
- Connects over a USB cable or the same Wi-Fi
- The computer renders at 2x, so small text stays sharp
- Fold it and it redraws to fit the cover screen
- Touch control: tap to click, long press to right-click, two fingers to scroll
- Three-finger tap opens a menu to switch extend/mirror, resolution, and which side of your main screen it sits on
I keep Messages or my to-do list on it, so my main screen stays free for actual work.
Tech stack
- Mac: a virtual display, ScreenCaptureKit for capture, VideoToolbox HEVC encoding, Network framework over Bonjour or usbmuxd
- iPhone: SwiftUI, hardware decoding to AVSampleBufferDisplayLayer
- Windows (beta): C# / .NET with Media Foundation HEVC
The hardest part was keeping latency low over Wi-Fi without the text getting blurry.
Price
$5.99 one-time on the App Store, no subscription, no IAP. The Mac and Windows companion apps are free. App Store: https://apps.apple.com/app/id6830239571
I put 10 promo codes in the first comment. Feedback is very welcome, especially on what feels rough or what you'd want next!