self.progress = [[NJKWebViewProgress alloc] init];
self.webView.delegate = self.progress;
__weak typeof(self) weakSelf = self;
self.progress.progressBlock = ^(float progress) {
weakSelf.progressView.progress = progress;
weakSelf.progressView.hidden = (progress == 1.0);
};
self.progress.webViewProxyDelegate = self;