dataScanner(_:becameUnavailableWithError:)
Responds when the data scanner becomes unavailable and stops scanning.
Declaration
@MainActor func dataScanner(_ dataScanner: DataScannerViewController, becameUnavailableWithError error: DataScannerViewController.ScanningUnavailable)Parameters
- dataScanner:
The data scanner that’s not available.
- error:
Describes an error if it occurs.