Re: List of all supported apps for file type
Re: List of all supported apps for file type
- Subject: Re: List of all supported apps for file type
- From: Dave DeLong <email@hidden>
- Date: Sun, 23 May 2010 21:13:16 -0600
That's really good to know! Thank you for sharing this. :)
Dave
On May 23, 2010, at 8:51 PM, Scott Ribe wrote:
> On May 23, 2010, at 5:03 PM, Dave DeLong wrote:
>
>> Use LSCopyAllRoleHandlersForContentType to get a list of bundle identifiers.
>
> No, don't. It's really lame, and returns obviously incomplete results. Maybe it only returns Cocoa apps; maybe it only returns apps that specify the type via explicit UTI and ignores type extensions & codes. Whatever, it's wrong for even common types like PDF & TIFF.
>
> As far as I can, the only way to even come close to getting a list of apps that can open a file type, is to use a dummy file with the appropriate extension, and call LSCopyApplicationURLsForURL.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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