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