From 2a9391df412bf8c66d12b113f160c08391a0996a Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Sat, 23 Apr 2022 17:40:43 +0200 Subject: [PATCH] removed unused code --- ios/Classes/InAppWebView/InAppWebView.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ios/Classes/InAppWebView/InAppWebView.swift b/ios/Classes/InAppWebView/InAppWebView.swift index eccf2de3..27d80a2d 100755 --- a/ios/Classes/InAppWebView/InAppWebView.swift +++ b/ios/Classes/InAppWebView/InAppWebView.swift @@ -1629,11 +1629,6 @@ public class InAppWebView: WKWebView, UIScrollViewDelegate, WKUIDelegate, return } - if #available(iOS 14.5, *), navigationAction.request.url!.absoluteString.hasSuffix(".dat") { - decisionHandler(.download) - return - } - if navigationAction.request.url != nil { if let useShouldOverrideUrlLoading = settings?.useShouldOverrideUrlLoading, useShouldOverrideUrlLoading {