dataScanner(_:didTapOn:)
Responds when a person taps an item that the data scanner recognizes.
Declaration
@MainActor func dataScanner(_ dataScanner: DataScannerViewController, didTapOn item: RecognizedItem)Parameters
- dataScanner:
The data scanner with the zoom factor that changes.
- item:
The item that a person taps.
Mentioned in
Discussion
Implement this method to take some action, depending on the type of data that a person taps.