我正在尝试从相机捕获视频帧并在UIImageView上实时显示大量图像。我尝试为我的viewcontroller调整AVCaptureVideoDataOutputSampleBufferDelegate。我还实现了captureOutput,但是captureOutput从未被调用。这是我的代码:importUIKitimportAVFoundationclassViewController:UIViewController,AVCaptureVideoDataOutputSampleBufferDelegate{@IBOutletweakvarimageView:UIImageVi