We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5e93f0 commit 1a55b68Copy full SHA for 1a55b68
ios/ExifyUtils.swift
@@ -56,7 +56,10 @@ func getExifTags(from metadata: NSDictionary) -> [String: Any] {
56
// Include tags from formats
57
addTagEntries(from: kCGImagePropertyTIFFDictionary, metadata: metadata, to: tags)
58
addTagEntries(from: kCGImagePropertyPNGDictionary, metadata: metadata, to: tags)
59
- addTagEntries(from: kCGImagePropertyHEICSDictionary, metadata: metadata, to: tags)
+
60
+ if #available(iOS 13.0, *) {
61
+ addTagEntries(from: kCGImagePropertyHEICSDictionary, metadata: metadata, to: tags)
62
+ }
63
64
return tags as? [String: Any] ?? [:]
65
}
0 commit comments