How can you read a files MIME-type in objective-c

Viewed 35436

I am interested in detecting the MIME-type for a file in the documents directory of my iPhone application. A search through the docs did not provide any answers.

9 Answers

Make sure are you import the coreservices

import <CoreServices/CoreServices.h>

in your file.

Related