分类归档 iOS开发

通过guhuangwudi@gmail.com

WKWebView 适配小问题和解决方法

  self.automaticallyAdjustsScrollViewInsets = NO;

  self.edgesForExtendedLayout               = UIRectEdgeNone;

  _webView = [[WKWebView alloc] initWithFrame:CGRectMake(0, 0,UIScreenWidth, UIScreenHeight64)];