UIWebView show overlapping status bar in ios-11, iPhone-X, Xcode-9
问题 I'm loading a web with UIWebView, everything works fine except that the iphoneX is cut off the bar where I put an "OK" button and a label with a title. // webView var webView: WKWebView! override func viewDidLoad() { super.viewDidLoad() let myURL = URL(string: "https://google.com") let myRequest = URLRequest(url: myURL!) webView = WKWebView(frame: CGRect( x: 0, y: 60, width: self.view.frame.width, height: self.view.frame.height - 60 ), configuration: WKWebViewConfiguration() ) //webView