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. -- Scott Ribe [email protected] http://www.elevated-dev.com/ (303) 722-0567 voice _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
