Closed pennywise94 closed 4 years ago
I am currently wondering if it is possible to access the AVCaptureDevice of the BBMetalCamera. I am trying to implement some logic towards enabling/disabling flash, zooming in/out on the camera, ...
Any ideas?
Use configureCamera(_ block: (AVCaptureDevice) -> Void) method
configureCamera(_ block: (AVCaptureDevice) -> Void)
camera.configureCamera { device in if device. isFlashAvailable { // Enable flash } }
Awesome.
I am currently wondering if it is possible to access the AVCaptureDevice of the BBMetalCamera. I am trying to implement some logic towards enabling/disabling flash, zooming in/out on the camera, ...
Any ideas?