• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: List of registered URI handlers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: List of registered URI handlers?
      • From: Tito Ciuro <email@hidden>
References: 
 >List of registered URI handlers? (From: Tito Ciuro <email@hidden>)

  • Prev by Date: Re: AVFoundation and kYUVSPixelFormat from AVPlayer
  • Next by Date: Re: Window collection behavior, remove from cycle?
  • Previous by thread: List of registered URI handlers?
  • Next by thread: Re: List of registered URI handlers?
  • Index(es):
    • Date
    • Thread