Open MinaAshna opened 7 years ago
I've tried that by myself, could you send me a sample project which could do the same job as you did? Maybe I could figure out why.
well actually after hours of searching i found the problem. i have a viewController which is inherited from your RSCodeReaderViewController
. your pod doesn't support for taking photo too. you create a session and use AVCaptureMetadataOutput
to get the barcode from camera. you also havecaptureOutput
function, which is necessary. but i needed the camera took photo too. so i had to use your session and add AVCaptureStillImageOutput
to your output and handle the photo in stillImageOutput?.captureStillImageAsynchronously(...)
function. which is the problem. i found that capturing photo must be handle in captureOutput
function which is in your pod.
it would be good if you can update your pod and add this feature to it. maybe some one like me needs both barcode and photo.
thanks for your support.
when i use your session to take photo, it makes the image very dark, like a mask on it. do you have any idea what is the problem? do i have to change something?