SBSDKUIFinderDocumentScannerViewControllerDelegate
@protocol SBSDKUIFinderDocumentScannerViewControllerDelegate <
SBSDKUIViewControllerDelegate>
Delegate protocol for ‘SBSDKUIFinderDocumentScannerViewController’.
-
Informs the delegate that the document scanning view controller has scanned document pages and the view controller has dismissed.
Declaration
Objective-C
- (void)finderScanningViewController: (nonnull SBSDKUIFinderDocumentScannerViewController *)viewController didFinishWithDocument:(nonnull SBSDKUIDocument *)document;
Swift
func finderScanningViewController(_ viewController: SBSDKUIFinderDocumentScannerViewController, didFinishWith document: SBSDKUIDocument)
Parameters
viewController
The ‘SBSDKUIFinderDocumentScannerViewController’ which generated the scanned pages and dismissed.
document
The document containing the scanned pages.
-
Optional: informs the delegate that the ‘SBSDKUIFinderDocumentScannerViewController’ has been cancelled and dismissed.
Declaration
Objective-C
- (void)finderScanningViewControllerDidCancel: (nonnull SBSDKUIFinderDocumentScannerViewController *)viewController;
Swift
optional func finderScanningViewControllerDidCancel(_ viewController: SBSDKUIFinderDocumentScannerViewController)
Parameters
viewController
The ‘SBSDKUIFinderDocumentScannerViewController’ that did dismiss.