Unable to read white on black Data Matrix barcode
问题 Data Matrix barcode support was added to iOS 8 and I'm able to use it to read Data Matrix barcodes if they are black on white (dark on light). However, it never reads a white on black (light on dark) barcode. Reads this fine: Unable to read this: Per Data Matrix ECC 200, light on dark should be supported. Anyone have an idea how to get iOS 8 to read a light on dark Data Matrix barcode? 回答1: You can invert the colors of your AVCaptureSession in real time, allowing you to read the Data Matrix