yeahdongcn / RSBarcodes_Swift

1D and 2D barcodes reader and generators for iOS 8 with delightful controls. Now Swift.
MIT License
707 stars 185 forks source link

Xcode 14.2 - self.session.startRunning() #151

Closed craiganthonydev closed 1 year ago

craiganthonydev commented 1 year ago

Xcode gives purple warning: -[AVCaptureSession startRunning] should be called from background thread. Calling it on the main thread can lead to UI unresponsiveness.

self.session.startRunning() is located in RSCodeReaderViewController two times.