An iOS SwiftUI test app that demonstrates a transparent overlay with touch passthrough everywhere except a floating control panel. The control panel can toggle camera and mic (AVCaptureSession) and show a live camera preview.
- Transparent overlay layer
- Touch passthrough except on control buttons
- Start/stop camera + mic
- Minimal, clean SwiftUI
- Ready to drop into Xcode (create an iOS App project named Supportable, then replace
ContentView.swiftand add the files below)
- In Xcode, create a new iOS App project named
Supportable(SwiftUI + Swift). - In the created project, add the folders from this repo (
iOS,Core) into the project (drag into Xcode, Copy items if needed). - Replace Xcode’s default
ContentView.swiftwith the one provided here. - Add the Info.plist entries (Camera/Microphone usage descriptions) from
iOS/Info.plist(or copy the values). - Build & run on a real device (camera requires device).
NSCameraUsageDescription= "Camera access is required for Supportable to show live video."NSMicrophoneUsageDescription= "Microphone access is required for Supportable to capture audio."
MIT