ALAssetRepresentation *rep = [asset defaultRepresentation];
NSString* MIMEType = (__bridge_transfer NSString*)UTTypeCopyPreferredTagWithClass
((__bridge CFStringRef)[rep UTI], kUTTagClassMIMEType);
This will give you a MIME type. You need to add MobileCoreService infrastructure and import<MobileCoreServices/MobileCoreServices.h>
source
share