On 4 Oct 2012, at 12:33 AM, Rick Mann <[email protected]> wrote:
> On Oct 3, 2012, at 19:46 , Jeff Kelley <[email protected]> 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 protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]