diff --git a/HybridPageKit.podspec b/HybridPageKit.podspec index c1c78d6..9920eff 100644 --- a/HybridPageKit.podspec +++ b/HybridPageKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "HybridPageKit" - s.version = "1.2" + s.version = "1.3" s.summary = "A high-performance、high-extensibility、easy integration framework for Hybrid content page. Support most content page types of News App." s.homepage = "https://github.com/dequan1331/HybridPageKit" s.license = "MIT" diff --git a/HybridPageKit/HybridPageKit/HybridPageKit/Source/HPKWebViewExtensionDelegate.m b/HybridPageKit/HybridPageKit/HybridPageKit/Source/HPKWebViewExtensionDelegate.m index a30fdac..0959519 100644 --- a/HybridPageKit/HybridPageKit/HybridPageKit/Source/HPKWebViewExtensionDelegate.m +++ b/HybridPageKit/HybridPageKit/HybridPageKit/Source/HPKWebViewExtensionDelegate.m @@ -345,10 +345,6 @@ - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigati decisionHandler(WKNavigationActionPolicyCancel); return; } - if (navigationAction.navigationType == WKNavigationTypeLinkActivated) { - decisionHandler(WKNavigationActionPolicyCancel); - return; - } if ([self.originalDelegate respondsToSelector:@selector(webViewDecidePolicyForNavigationAction:decisionHandler:)]) { [self.originalDelegate webViewDecidePolicyForNavigationAction:navigationAction decisionHandler:decisionHandler];