我想從使用AVCaptureDevice這樣拍攝的圖像的EXIF附件:NSMutableDictionary和CFDictionaryRef有什麼區別?
CFDictionaryRef exifAttachments = (CFDictionaryRef)CMGetAttachment(buf, kCGImagePropertyExifDictionary, NULL);
NSMutableDictionary *exifAttachment = (__bridge NSMutableDictionary*)CMGetAttachment(buf, kCGImagePropertyExifDictionary, NULL);
似乎都返回相同的結果,雖然一個的NSMutableDictionary需要__bridge
投類型。他們之間有什麼不同?我應該什麼時候使用哪個?