VisionKit · IOS API REFERENCE
DataScannerViewController.TextContentType
enum · iOS 16.0+ · SDK 27.1
enum TextContentTypeTypes of text that a data scanner recognizes. To configure a ``VisionKit/DataScannerViewController``, pass one or more options into its initializer. For example, the following code creates a data scanner that detects textual references to money. ```swift let recognizedDataTypes:Set<DataScannerViewController.RecognizedDataType> = [ .text(textContentType: .currency) ] // Create the data scanner. let dataScanner = DataScannerViewController(recognizedDataTypes: recognizedDataTypes) ```
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.