摘要:
- (NSString *)getMimeType:(NSString *)fileAbsolutePath error:(NSError *)error{ NSString* fullPath = [fileAbsolutePath stringByExpandingTildeInPath]; NSURL* fileUrl = [NSURL fileURLWithPath:fullPath]; NSURLRequest* fileUrlRequest = [NSURLRequest requestWithURL: fileUrl]; NSURLResponse* response = nil 阅读全文