当我使用 captureStillImageAsynchronouslyFromConnection
捕捉静态图像时AVCaptureStillImageOutput
的方法|与 AVCaptureSessionPresetPhoto
一起,尝试使用 CMGetAttachment
检索 exif 数据和 kCGImagePropertyExifDictionary
来自CVImageBuffer
回馈NULL
.我特别需要最后一张照片的 ISO 等级。我如何检索该信息?
最佳答案
问题是,我将 CMGetAttachment
与 CVImageBuffer
一起使用,但我必须将它与 CMSampleBuffer
一起使用。
关于iphone - captureStillImageAsynchronouslyFromConnection 中的元/exif 数据丢失,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5853158/