On Oct 11, 2011, at 5:18 PM, Tito Ciuro wrote:

> How would I determine which URI handlers are registered with the system? For 
> example, amzn://, fb://, etc.
> 
> Is there a way to determine this type of information?

Not programmatically, I don't believe.  (Launch Services will show you the URI 
handler for a given scheme, but won't list the known schemes.)

You can extract that information from the output of

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister
 -dump

However, you probably can't rely on the format of that output being stable from 
release to release.  I think that's considered a diagnostic tool, not a 
supported interface.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to