previewPhotoSampleBuffer
全部标签 我的应用程序中有一个自定义相机,它工作正常,但在新更新后我收到此错误:'jpegPhotoDataRepresentation(forJPEGSampleBuffer:previewPhotoSampleBuffer:)'wasdeprecatediniOS11.0:Use-[AVCapturePhotofileDataRepresentation]instead.这是我遇到错误的行:guardletimageData=AVCapturePhotoOutput.jpegPhotoDataRepresentation(forJPEGSampleBuffer:photoSampleBuff
我的应用程序中有一个自定义相机,它工作正常,但在新更新后我收到此错误:'jpegPhotoDataRepresentation(forJPEGSampleBuffer:previewPhotoSampleBuffer:)'wasdeprecatediniOS11.0:Use-[AVCapturePhotofileDataRepresentation]instead.这是我遇到错误的行:guardletimageData=AVCapturePhotoOutput.jpegPhotoDataRepresentation(forJPEGSampleBuffer:photoSampleBuff