hey. Put captureSession.startRunning() in background Thread
DispatchQueue.global(qos: .background).async {
self.captureSession.startRunning()
}
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: