MBDocCapture icon indicating copy to clipboard operation
MBDocCapture copied to clipboard

Memory leaks

Open iOS-Developer-mt opened this issue 5 years ago • 0 comments

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

iOS-Developer-mt avatar Aug 17 '20 10:08 iOS-Developer-mt