@protocol MBScanningRecognizerRunnerViewControllerDelegate <NSObject>
Protocol for obtaining scanning results
Scanning library did output scanning results
Depending on how you want to treat the result, you might want to dismiss the scanningViewController here.
This method is the default way for getting access to results of scanning.
- there may be 0, 1, or more than one scanning results.
- each scanning result belongs to a common MBRecognizerResult type
- handle different types differently
this method is called on background processing thread. Make sure that you dispatch all your UI API calls to main thread.
- (void)recognizerRunnerViewController: (nonnull UIViewController<MBRecognizerRunnerViewController> *) recognizerRunnerViewController didFinishScanningWithState:(MBRecognizerResultState)state;
func recognizerRunnerViewController(_ recognizerRunnerViewController: Any!, didFinishScanningWith state: MBRecognizerResultState)
scanningViewController Scanning view controller responsible for scanning
state of scanning