Skip to content

Commit 3b7be5e

Browse files
author
“Akshay
committed
[MOB-9603] - Making the function iOS 12 compatible
Making it 12 compatible seems to fix the issue
1 parent 89a68e9 commit 3b7be5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-sdk/Internal/IterableHtmlMessageViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ extension IterableHtmlMessageViewController: WKNavigationDelegate {
353353
decisionHandler(.cancel)
354354
}
355355

356-
@available(iOS 13.0, *)
356+
@available(iOS 12.0, *)
357357
func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, preferences: WKWebpagePreferences, decisionHandler: @escaping (WKNavigationActionPolicy, WKWebpagePreferences) -> Void) {
358358
if #available(iOS 14.0, *) {
359359
preferences.allowsContentJavaScript = false

0 commit comments

Comments
 (0)