Skip to content

Commit

Permalink
fix(ios): min ios version check
Browse files Browse the repository at this point in the history
  • Loading branch information
lodev09 committed Mar 25, 2024
1 parent d5e93f0 commit 1a55b68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ios/ExifyUtils.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ func getExifTags(from metadata: NSDictionary) -> [String: Any] {
// Include tags from formats
addTagEntries(from: kCGImagePropertyTIFFDictionary, metadata: metadata, to: tags)
addTagEntries(from: kCGImagePropertyPNGDictionary, metadata: metadata, to: tags)
addTagEntries(from: kCGImagePropertyHEICSDictionary, metadata: metadata, to: tags)

if #available(iOS 13.0, *) {
addTagEntries(from: kCGImagePropertyHEICSDictionary, metadata: metadata, to: tags)
}

return tags as? [String: Any] ?? [:]
}
Expand Down

0 comments on commit 1a55b68

Please sign in to comment.