Open Thuran opened 5 years ago
The same problem. Update please 😔
Log error on recognizing:
CGImageCreate: invalid image bits/component: 8 bits/pixel 24 alpha info = kCGImageAlphaNoneSkipLast
but func payCardsRecognizer(_ payCardsRecognizer: PayCardsRecognizer, didRecognize result: PayCardsRecognizerResult)
don't calls
I change result mode to .async and work for me
recognizer = PayCardsRecognizer(delegate: self, resultMode: .async, container: self.view, frameColor: UIColor.white)
@Thuran Thanx a lot! Worked for me too
After update swift to 4.2 payCardsRecognizer don't calling, and i can't change library swift version because target don't appear in Pods project.