let fdesc : CMFormatDescriptionRef = CMSampleBufferGetFormatDescription(sampleBuffer)!
let clap : CGRect = CMVideoFormatDescriptionGetCleanAperture(fdesc, false)
Error: cannot invoke 'CMVideoFormatDescriptionGetCleanAperture' with an argument list of type '(CMFormatDescriptionRef, Bool)'
最佳答案
尝试 let fdesc: CMFormatDescription = ...
关于ios - Swift 代码错误 : CMVideoFormatDescriptionGetCleanAperture,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34518057/