ankush445/SwiftUI-Background-Upload ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple SwiftUI iPhone app that demonstrates uploading a file in the background.
I want a clean screen where I can pick a file or start a sample upload, then see the upload progress clearly while the app is open. The upload should keep going even if I send the app to the background or lock the phone, and when I come back it should still know the status. Please include basic success and failure messages, and make the demo easy to run in Xcode without extra setup.
Keep the interface simple and polished, with just the main controls and progress state, so it feels like a small working example I could learn from. If you need to check current Apple docs for the best way to handle background uploads in SwiftUI, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit