• 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: APN and various apps determining each other present on a device?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: APN and various apps determining each other present on a device?


  • Subject: Re: APN and various apps determining each other present on a device?
  • From: Fritz Anderson <email@hidden>
  • Date: Thu, 04 Oct 2012 10:00:58 -0500

On 4 Oct 2012, at 12:33 AM, Rick Mann <email@hidden> wrote:

> On Oct 3, 2012, at 19:46 , Jeff Kelley <email@hidden> wrote:
>
>> It’s relatively simple: App A registers for a URL scheme, let’s say AppA://. App B asks the system if it knows how to handle AppA:// links.
>
> I was looking for how this is done. How does an app ask? I found a document that's supposed to cover this, but doesn't.

BOOL   isImplemented = [[UIApplication sharedApplication]
                        canOpenURL: anNSURL];

> Furthermore, can Javascript ask the same question?

From web content? I don't know the answer to that, but I'd be surprised if it could. Giving a downloaded web page that sort of access to application internals would be a bad idea.

	— F

--
Fritz Anderson -- Xcode 4 Unleashed: 4.5 supplement in the works -- <http://x4u.manoverboard.org/>


_______________________________________________

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


References: 
 >APN and various apps determining each other present on a device? (From: William Squires <email@hidden>)
 >Re: APN and various apps determining each other present on a device? (From: Jeff Kelley <email@hidden>)
 >Re: APN and various apps determining each other present on a device? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Compiling GC apps under OS X 10.8
  • Next by Date: Re: Constraints Question
  • Previous by thread: Re: APN and various apps determining each other present on a device?
  • Next by thread: Re: Constraints Question
  • Index(es):
    • Date
    • Thread