Hi All,
How to get the Content-Type for any file in ObjectiveC ?
I can then set the "Content-Type" header while sending the file to any web server.
Thanks
Hi All,
How to get the Content-Type for any file in ObjectiveC ?
I can then set the "Content-Type" header while sending the file to any web server.
Thanks
Generally speaking, when using NSFileManager and friends, in fact, OS X and Objective-C in general; you should not use MIME types, but rather UTIs, or Uniform Type Identifiers. An introduction can be found here.