DuoDevOverlay
A debug overlay that shows safe areas and camera placement over a running app on a folding iPhone.
What does it do?
After adding the package to the app target in Xcode and installing the overlay in a scene, the running app shows safe areas in blue, the fold area in orange, and camera and status areas in pink. A draggable panel displays precise measurements that update with folding and rotation. The overlay can be removed with a panel button or API, and installation state notifications can synchronize a debug menu switch. It does not work below iOS 27.1, where the reserved area API is unavailable.
Key features
- Color code safe areas, the fold area, and camera and status areas over the running app.
- Update area displays and measurements in real time as the device folds or rotates.
- Drag the panel and double tap it to return it to its automatically placed corner.
- Send installation and removal state notifications for integration with a debug menu.