Closed breyed closed 2 years ago
The calls to start and stop the capture session are blocking and should be called on a background thread, like this:
DispatchQueue.global(qos: .userInitiated).async { self.captureSession.startRunning() }
Fixed – thank you!
The calls to start and stop the capture session are blocking and should be called on a background thread, like this: