My iOS app has a WKWebView component which shows an full-screen WebApp (1280x800) with different aspect ratio and size then a iPad (4:3, 1024x768)
I want to set the
Add <meta name="viewport" content="width=device-width, shrink-to-fit=YES"> to your HTML file.
<meta name="viewport" content="width=device-width, shrink-to-fit=YES">
It works as if you used scalePageToFit in UIWebView.