• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining MIME types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining MIME types


  • Subject: Re: Determining MIME types
  • From: j o a r <email@hidden>
  • Date: Fri, 18 Jan 2008 22:54:33 -0800


On Jan 18, 2008, at 10:36 PM, Matthew Delves wrote:

I have managed to get the UTI from the file extension, though unsure about how to get the MIME type from the UTI.


Something like this:

CFStringRef MIMEType = UTTypeCopyPreferredTagWithClass (theUTI, kUTTagClassMIMEType);

j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Determining MIME types (From: Matthew Delves <email@hidden>)
 >Re: Determining MIME types (From: Jim Puls <email@hidden>)
 >Re: Determining MIME types (From: j o a r <email@hidden>)
 >Re: Determining MIME types (From: Matthew Delves <email@hidden>)

  • Prev by Date: Re: System preferences panes on Leopard
  • Next by Date: Re: "Convert to Objective-c 2.0"
  • Previous by thread: Re: Determining MIME types
  • Next by thread: Conversion Between path URLs with certain percent escapes not being removed
  • Index(es):
    • Date
    • Thread