Capture machine-readable codes and text with VisionKit

RSS for tag

Discuss the WWDC22 Session Capture machine-readable codes and text with VisionKit

Posts under wwdc2022-10025 tag

2 Posts

Post

Replies

Boosts

Views

Activity

DataScannerViewController in Objective-C
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?
1
0
1.1k
Aug ’22
Using DataScannerViewController with async stream
Hi, The presentation "Capture Machine Readable Codes and Text with VisionKit" mentions at the end that the DataScannerViewController can be used with an async stream. In the presentation, there is a code snipper for the updateViewAsyncStream method, but it's not really used anywhere. How do utilize this when the DataScannerViewController is active and capture the recognized items? Also there is a sendDidChangeNotification() function sat the end but the compiler complains that it's not in scope. Thanks.
2
0
2.0k
Jul ’22
DataScannerViewController in Objective-C
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?
Replies
1
Boosts
0
Views
1.1k
Activity
Aug ’22
Using DataScannerViewController with async stream
Hi, The presentation "Capture Machine Readable Codes and Text with VisionKit" mentions at the end that the DataScannerViewController can be used with an async stream. In the presentation, there is a code snipper for the updateViewAsyncStream method, but it's not really used anywhere. How do utilize this when the DataScannerViewController is active and capture the recognized items? Also there is a sendDidChangeNotification() function sat the end but the compiler complains that it's not in scope. Thanks.
Replies
2
Boosts
0
Views
2.0k
Activity
Jul ’22