Hi, Is DataScannerViewController available to be called directly from Objective-C? I see the header file has an "objc" attribute on it, but trying to initialize it from an Objective-C file doesn't seem to be working for me. Maybe it's something I'm doing wrong, but I wanted to first clarify and confirm that if it indeed possible to use it directly in Objective-C, or not?
DataScannerViewController in Objective-C
Hello,
I wanted to first clarify and confirm that if it indeed possible to use it directly in Objective-C, or not?
It's not, DataScannerViewController is Swift-only. The only parts of VisionKit that are available in Obj-C are VNDocumentCameraViewController and VNDocumentCameraScan.