765183d25b5f163a22969b2ec683ce6f3eecf79e
On device the camera still reported reason 1 (videoDeviceNotAvailable- InBackground) even when started from viewDidAppear with the app foreground-active: the camera assertion isn't granted until the sheet's presentation transition fully settles (a few hundred ms), and the back-to-back retries all fired inside that unsettled window. Add a short delayed retry (0.5s, bounded to 12 attempts) driven by the interruption notification, plus a proactive +0.6s retry after the view appears, resetting the counter once the session actually starts. Also log the window/app/scene activation state to confirm the foreground signals. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Description
No description provided
2 MiB
Languages
Swift
100%