最佳答案
这解决了问题
[self.webView.scrollView setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
引用: How to get rid of the status bar background on the UIWebView?
关于ios - ios 11/xcode 9 上的 UIWebView 灰色空间上边距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45214105/