WKWebView
2016-11-08 本文已影响9人
nihau
```objc
#import<CoreMotion/CoreMotion.h>
- (WKWebView *)webView
{
if (_webView == nil)
{
_webView = [[WKWebView alloc] initWithFrame:self.view.frame];
[self.view addSubview:_webView];
}
return _webView;
}
```