Re: APN and various apps determining each other present on a device?
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