[NSWorkspace openURL:] - any way to avoid a new tab?
[NSWorkspace openURL:] - any way to avoid a new tab?
- Subject: [NSWorkspace openURL:] - any way to avoid a new tab?
- From: Graham Cox <email@hidden>
- Date: Thu, 07 Apr 2016 12:24:37 +1000
Hi all,
My app uses [NSWorkspace openURL:] to display help pages in the user’s default browser. Each new request creates a new tab (at least in Safari). Is there a way to pass a hint that no new tab is created if there is an existing tab for the same domain? I looked at NSWorkspace’s launch options but none of those appear to apply.
If there’s no way we might need to consider a webview within the app instead, but hoping that we can do it more easily.
—Graham
_______________________________________________
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