LockedCameraCaptureManager sessionContentUpdates sometimes is not called

Within my app, I have:

for try await update in LockedCameraCaptureManager.shared.sessionContentUpdates {

It seems that the first time my app opens from LockedCameraCapture (after enabling camera permissions etc...) this update is never called and the user will not see their capture (.added or .initial)

If I then try to take another picture/video through my LockedCameraCapture control, it takes the video, opens the app as before, but this time sessionContentUpdates is called twice, once for the first video and once for the second video!

After that it doesn't seem to occur again and all works perfectly!

My device is: iPhone 16 Pro Max, iOS 18.2 developer beta

Has anyone experienced this?

@AidenNebula I have been running into this very issue, or something very similar. Did you ever find a solution? It seems like LockedCameraCaptureManager.shared.sessionContentUpdates is just stuck sometimes and I don't have the expected URLs in sessionContentURLs. One time I noticed when calling invalidateSessionContent on an old URL, that sessionContentUpdates started producing, but that may have been a red herring.

LockedCameraCaptureManager sessionContentUpdates sometimes is not called
 
 
Q