Re: List of registered URI handlers?
Re: List of registered URI handlers?
- Subject: Re: List of registered URI handlers?
- From: Ken Thomases <email@hidden>
- Date: Tue, 11 Oct 2011 22:06:30 -0500
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 (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