UTTypeCreatePreferredIdentifierForTag doesn't recognize audio/x-wav MIME type
| Originator: | heath.borders | ||
| Number: | rdar://13305331 | Date Originated: | 27-Feb-2013 11:27 AM |
| Status: | Open | Resolved: | |
| Product: | iPad SDK | Product Version: | 6.1 |
| Classification: | Enhancement | Reproducible: | Always |
27-Feb-2013 11:27 AM Heath Borders: Summary: UIDocumentInteractionController can preview wav files if I manually supply their extension. So, the system should know about their MIME type as well. Steps to Reproduce: CFStringRef uttype = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, @"audio/x-wav", NULL); CFStringRef utpt = UTTypeCopyPreferredTagWithClass(uttype, kUTTagClassFilenameExtension); Expected Results: The value of 'uttype' should be an audio type, and utpt should be 'wav'. Actual Results: The value of 'uttype' returned is prefixed with "dyn" (indicates type-not-found according to the docs) and 'utpt' is therefore NULL. Regression: Notes:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!