VisionKit iOS 15.5 to 16.0 API Differences
DataScannerViewController
Added
DataScannerViewController
Added
DataScannerViewController.isAvailable /* static */
Added
DataScannerViewController.isSupported /* static */
Added
DataScannerViewController.supportedTextRecognitionLanguages /* static */
Added
DataScannerViewController.init(coder:)
Added
DataScannerViewController.init(nibName:bundle:)
Added
DataScannerViewController.init(recognizedDataTypes:qualityLevel:recognizesMultipleItems:isHighFrameRateTrackingEnabled:isPinchToZoomEnabled:isGuidanceEnabled:isHighlightingEnabled:)
Added
DataScannerViewController.delegate
Added
DataScannerViewController.isGuidanceEnabled
Added
DataScannerViewController.isHighFrameRateTrackingEnabled
Added
DataScannerViewController.isHighlightingEnabled
Added
DataScannerViewController.isPinchToZoomEnabled
Added
DataScannerViewController.isScanning
Added
DataScannerViewController.maxZoomFactor
Added
DataScannerViewController.minZoomFactor
Added
DataScannerViewController.overlayContainerView
Added
DataScannerViewController.qualityLevel
Added
DataScannerViewController.recognizedDataTypes
Added
DataScannerViewController.recognizedItems
Added
DataScannerViewController.recognizesMultipleItems
Added
DataScannerViewController.loadView()
Added
DataScannerViewController.startScanning()
Added
DataScannerViewController.stopScanning()
Added
DataScannerViewController.viewDidDisappear(_:)
Added
DataScannerViewController.viewDidLoad()
Added
DataScannerViewController.viewWillAppear(_:)
Added
DataScannerViewController.QualityLevel
Added
DataScannerViewController.QualityLevel.==(a:b:) /* static */
Added
DataScannerViewController.QualityLevel.hashValue
Added
DataScannerViewController.QualityLevel.hash(into:)
Added
DataScannerViewController.RecognizedDataType
Added
DataScannerViewController.RecognizedDataType.==(lhs:rhs:) /* static */
Added
DataScannerViewController.RecognizedDataType.barcode(symbologies:) /* static */
Added
DataScannerViewController.RecognizedDataType.text(languages:textContentType:) /* static */
Added
DataScannerViewController.RecognizedDataType.hashValue
Added
DataScannerViewController.RecognizedDataType.hash(into:)
Added
DataScannerViewController.ScanningUnavailable
Added
DataScannerViewController.ScanningUnavailable.==(a:b:) /* static */
Added
DataScannerViewController.ScanningUnavailable.hashValue
Added
DataScannerViewController.ScanningUnavailable.hash(into:)
Added
DataScannerViewController.TextContentType
Added
DataScannerViewController.TextContentType.==(a:b:) /* static */
Added
DataScannerViewController.TextContentType.hashValue
Added
DataScannerViewController.TextContentType.hash(into:)
DataScannerViewControllerDelegate
Added
DataScannerViewControllerDelegate
ImageAnalysis
Added
ImageAnalysis
Added
ImageAnalysis.hasResults(for:)
ImageAnalysisInteraction
Added
ImageAnalysisInteraction
Added
ImageAnalysisInteraction.init()
Added
ImageAnalysisInteraction.activeInteractionTypes
Added
ImageAnalysisInteraction.contentsRect
Added
ImageAnalysisInteraction.hasActiveTextSelection
Added
ImageAnalysisInteraction.liveTextButtonVisible
Added
ImageAnalysisInteraction.view
Added
ImageAnalysisInteraction.analysisHasText(at:)
Added
ImageAnalysisInteraction.didMove(to:)
Added
ImageAnalysisInteraction.hasDataDetector(at:)
Added
ImageAnalysisInteraction.hasInteractiveItem(at:)
Added
ImageAnalysisInteraction.hasSupplementaryInterface(at:)
Added
ImageAnalysisInteraction.hasText(at:)
Added
ImageAnalysisInteraction.resetTextSelection()
Added
ImageAnalysisInteraction.setContentsRectNeedsUpdate()
Added
ImageAnalysisInteraction.setSupplementaryInterfaceHidden(_:animated:)
Added
ImageAnalysisInteraction.willMove(to:)
Added
ImageAnalysisInteraction.InteractionTypes
Added
ImageAnalysisInteraction.InteractionTypes.automatic /* static */
Added
ImageAnalysisInteraction.InteractionTypes.dataDetectors /* static */
Added
ImageAnalysisInteraction.InteractionTypes.textSelection /* static */
Added
ImageAnalysisInteraction.InteractionTypes.init(rawValue:)
Added
ImageAnalysisInteraction.InteractionTypes.rawValue
Added
ImageAnalysisInteraction.InteractionTypes.ArrayLiteralElement
Added
ImageAnalysisInteraction.InteractionTypes.Element
Added
ImageAnalysisInteraction.InteractionTypes.RawValue
ImageAnalysisInteractionDelegate
Added
ImageAnalysisInteractionDelegate
ImageAnalyzer
Added
ImageAnalyzer
Added
ImageAnalyzer.isSupported /* static */
Added
ImageAnalyzer.supportedTextRecognitionLanguages /* static */
Added
ImageAnalyzer.init()
Added
ImageAnalyzer.AnalysisTypes
Added
ImageAnalyzer.AnalysisTypes.machineReadableCode /* static */
Added
ImageAnalyzer.AnalysisTypes.text /* static */
Added
ImageAnalyzer.AnalysisTypes.init(rawValue:)
Added
ImageAnalyzer.AnalysisTypes.rawValue
Added
ImageAnalyzer.AnalysisTypes.ArrayLiteralElement
Added
ImageAnalyzer.AnalysisTypes.Element
Added
ImageAnalyzer.AnalysisTypes.RawValue
Added
ImageAnalyzer.Configuration
Added
ImageAnalyzer.Configuration.analysisTypes
Added
ImageAnalyzer.Configuration.locales
RecognizedItem
Added
RecognizedItem
Added
RecognizedItem.bounds
Added
RecognizedItem.id
Added
RecognizedItem.Barcode
Added
RecognizedItem.Barcode.bounds
Added
RecognizedItem.Barcode.id
Added
RecognizedItem.Barcode.observation
Added
RecognizedItem.Barcode.payloadStringValue
Added
RecognizedItem.Barcode.ID
Added
RecognizedItem.Bounds
Added
RecognizedItem.Bounds.bottomLeft
Added
RecognizedItem.Bounds.bottomRight
Added
RecognizedItem.Bounds.topLeft
Added
RecognizedItem.Bounds.topRight
Added
RecognizedItem.ID
Added
RecognizedItem.Text
Added
RecognizedItem.Text.bounds
Added
RecognizedItem.Text.id
Added
RecognizedItem.Text.observation
Added
RecognizedItem.Text.transcript
Added
RecognizedItem.Text.ID