Re: handleGetURLEvent getting called after applicationDidFinishLaunching
Re: handleGetURLEvent getting called after applicationDidFinishLaunching
- Subject: Re: handleGetURLEvent getting called after applicationDidFinishLaunching
- From: Jens Alfke <email@hidden>
- Date: Wed, 21 Aug 2013 16:08:04 -0700
On Aug 20, 2013, at 5:41 PM, Bradley O'Hearne <email@hidden> wrote:
> In my case, the URL is custom, configured with launch services and in my app's info.plist file. The app is launched by opening a URL with the specified protocol from a web browser. It is not being launched any other way (such as from the Finder).
It could be a bug in the browser, then.
Basically it sounds like the bug is that someone is doing (in pseudocode)
app = app_for_url_scheme(url.scheme)
launch_app(app)
send_url_to_app(url)
instead of the correct way:
app = app_for_url_scheme(url.scheme)
launch_app_with_url(app, url)
—Jens
_______________________________________________
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