35 lines
1.5 KiB
Plaintext
35 lines
1.5 KiB
Plaintext
/ralph-loop:ralph-loop "Create an iOS app in Swift/SwiftUI that captures photos from both the front and rear cameras simultaneously.
|
|
|
|
## Requirements
|
|
|
|
1. **Dual Camera Capture**
|
|
- Use AVCaptureMultiCamSession to capture from front and rear cameras at the same time
|
|
- Single capture button triggers both cameras simultaneously
|
|
- Handle devices that don't support multi-cam gracefully (show error message)
|
|
|
|
2. **Photo Display Screen**
|
|
- After capture, navigate to a review screen
|
|
- Rear camera photo displays full-screen as background
|
|
- Front camera photo displays as a smaller overlay (roughly 25% size)
|
|
- Front photo positioned in top-right corner with rounded corners and subtle border
|
|
- User can tap front photo to drag/reposition it
|
|
|
|
3. **Basic Features**
|
|
- Save combined image to photo library
|
|
- Retake button to return to camera
|
|
- Request camera and photo library permissions properly
|
|
|
|
4. **Project Structure**
|
|
- Clean MVVM architecture
|
|
- Separate camera service class
|
|
- The app should build and run without errors
|
|
|
|
## Success Criteria
|
|
- App builds without errors or warnings
|
|
- Both cameras capture simultaneously on supported devices
|
|
- Photos display in correct layout (rear=background, front=overlay)
|
|
- Can save the composite image
|
|
|
|
Output <promise>DUAL CAM APP COMPLETE</promise> when the app builds successfully and meets all requirements." --completion-promise "DUAL CAM APP COMPLETE"
|
|
--max-iterations 25
|