Try to deduce attachment MIME type from the file extension if possible.

// FREEBIE
pull/1/head
Matthew Chen 9 years ago
parent 955c4d8a02
commit cb6de93a83

@ -46,6 +46,7 @@ extern NSString *const OWSMimeTypeUnknownForTests;
+ (nullable NSString *)utiTypeForFileExtension:(NSString *)fileExtension;
+ (nullable NSString *)fileExtensionForUTIType:(NSString *)utiType;
+ (nullable NSString *)fileExtensionForMIMEType:(NSString *)mimeType;
+ (nullable NSString *)mimeTypeForFileExtension:(NSString *)fileExtension;
@end

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save