Mijick / CameraView

Camera made simple (SwiftUI)
MIT License
188 stars 16 forks source link

captureSession.stopRunning() Unexpectedly found nil while implicitly unwrapping an Optional value #43

Open chase-robbins opened 3 weeks ago

chase-robbins commented 3 weeks ago
image

Steps to reproduce:

ethan-crabb commented 2 weeks ago

I'm facing the same problem using a NavigationStack. Were you able to find a workaround?

chase-robbins commented 2 weeks ago

I'm facing the same problem using a NavigationStack. Were you able to find a workaround?

Nope. I migrated to this package instead.

https://enebin.github.io/Aespa/documentation/aespa/

jakub-kalamarz commented 2 weeks ago

Guys, just don't declare manager in CameraView, you can inject it from parent.