• 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
[NSWorkspace openURL:] - any way to avoid a new tab?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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


  • Follow-Ups:
    • Re: [NSWorkspace openURL:] - any way to avoid a new tab?
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: How to turn of the Journal logging of CoreData/Sqlite?
  • Next by Date: Re: How to turn of the Journal logging of CoreData/Sqlite?
  • Previous by thread: Re: NSURLErrorKey vs. NSURLErrorFailingURLErrorKey
  • Next by thread: Re: [NSWorkspace openURL:] - any way to avoid a new tab?
  • Index(es):
    • Date
    • Thread