screenFrame(for:)
Called when the screen frame containing the window is needed.
Declaration
optional func screenFrame(for context: WKWebExtensionContext) -> CGRectParameters
- context:
The context associated with the running web extension.
Discussion
Defaults to CGRectNull if not implemented.