openTab(with:makeActiveIfPossible:completionHandler:)
Opens a tab at the end of the tab bar.
Declaration
func openTab(with url: URL, makeActiveIfPossible activateTab: Bool, completionHandler: (@Sendable (SFSafariTab?) -> Void)? = nil)func openTab(with url: URL, makeActiveIfPossible activateTab: Bool) async -> SFSafariTab?Parameters
Discussion
If the extension cannot access the URL, no tab is opened.