WebView present in Fullscreen

Hello,

When presenting the webview in scriptable, it is displayed as a style sheet but not as fullscreen.

Is there a way to trigger the fullscreen for the webview or quicklook the same way the Safari.openInApp does?

Thank you

Just a cross reference back to where this was brought up previously and where Simon asked for feedback.

Hi I can see that there is a full screen option in the docs.
But when I try to use it I still get a sheet view.

I am probably not doing it right… ?

let filePath = getHtml(filename)
await webView.loadFile(filePath, null, true)

await webView.present()

You haven’t specified the parameter.

Try:

await webView.present(true);
1 Like

That did it. Many thanks.