然而,当我调用函数CFDictionaryGetValue时,我得到一个错误:“Thread1: EXC_BAD_ACCESS (code=1,address=0x656d614e4f60)” 下面是我当前的代码takeRetainedValue() {
let name = CFDictionaryGetValue(serviceDictionary, "IOName")
hasNewPixelBuffer(forItemTime: time)
let pixelBuffer = self.videoOutputcopyPixelBuffer(forItemTime: time, itemTimeForDisplay: nil)}
这听起来像是EXC_BAD_ACCESS