Anyline / anyline-ocr-examples-ios

Example configurations of the Anyline OCR SDK.
https://anyline.com
Other
49 stars 12 forks source link

ALFlashStatus missing from ALScanView / ALDocumentScanPlugin classes #11

Closed raphaelguye closed 4 years ago

raphaelguye commented 4 years ago

After having migrated to the version 15.1, I have replaced the deprecated class AnylineDocumentModuleView (and its delegates) by the new classes ALScanView, ALDocumentScanPlugin and ALDocumentScanViewPlugin (and its delegates).

Everything is working fine except I didn't found how to replace the usage of the property flashStatus from the class AnylineDocumentModuleView.

I would like to use my own icon (in the toolbar) to turn on / turn off the flash. And to do that, previously, it worked by changing the value of this property.

Thank you for your help.

N.B. I have seen that you propose to use the new class ALFlashButtonConfig (and it's working, I have tested), but I don't want to use it. I really want to have one simple icon in my toolbar.

raphaelguye commented 4 years ago

Found the answer : the property flashStatus is accessible from ALView.flashButton