My first guess would be that you need to make the size 812 x375 instead of 667, since this is an iPhone X? I'd need to see your Xcode project to know more.
I don't recall any more info than was in this previous thread:
But if someone else has gotten a great iPhone X full screen experience in a WKWebView please chime in .