Mijick / CameraView

Camera made simple (SwiftUI)
MIT License
215 stars 26 forks source link

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

Open chase-robbins opened 2 months ago

chase-robbins commented 2 months ago
image

Steps to reproduce:

ethan-crabb commented 2 months ago

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

chase-robbins commented 2 months 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 months ago

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