You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a number of issues (mostly minor) with using BarcodeScanner with recent versions of Xcode, Swift, and iOS:
(1) Threading Issues: Every time I attempt to read a barcode, I get the following (backtrace omitted): Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
(2) There are a number of deprecations in the code, all easily solved:
(a) protocol definitions (protocol xxx: class {} instead of protocol xxx: AnyObject {})
(b) use of UIApplication.shared.statusBarOrientation
etc.
The text was updated successfully, but these errors were encountered:
There are a number of issues (mostly minor) with using BarcodeScanner with recent versions of Xcode, Swift, and iOS:
(1) Threading Issues: Every time I attempt to read a barcode, I get the following (backtrace omitted):
Thread Performance Checker: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness
(2) There are a number of deprecations in the code, all easily solved:
(a) protocol definitions (protocol xxx: class {} instead of protocol xxx: AnyObject {})
(b) use of UIApplication.shared.statusBarOrientation
etc.
The text was updated successfully, but these errors were encountered: