MBDocCapture
MBDocCapture copied to clipboard
Memory leaks
when we try batch scan app terminate due to memory issue. I tested via leaks instrument when we assign delegate like @IBAction func didSelectType1Button(_ sender: Any) { let scanner = ImageScannerController(delegate: self) // this Line show memory leak scanner.shouldScanTwoFaces = false scanner.modalPresentationStyle = .fullScreen present(scanner, animated: true) }
it show 14 memory leaks. I'm new to swift I did tried to solve this but couldn't. is there anyone who can help me with this