title(for:)
Called when the title of the tab is needed.
Declaration
optional func title(for context: WKWebExtensionContext) -> String?Parameters
- context:
The context in which the web extension is running.
Discussion
Defaults to title of the tab’s web view if not implemented.