Thank you, this works!
AVCaptureDevice.addObserver(self, forKeyPath: "centerStageControlMode", options: [.old, .new], context: nil)
Is it possible to use a type safe key-path version here?
Thank you, this works!
AVCaptureDevice.addObserver(self, forKeyPath: "centerStageControlMode", options: [.old, .new], context: nil)
Is it possible to use a type safe key-path version here?