Skip to content

Commit d4844da

Browse files
authored
chore: remove iOS 15 and below availability checks (#8159)
1 parent e76b29b commit d4844da

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

ios/Capacitor/Capacitor/WKWebView+Capacitor.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ internal extension WKWebView {
6262
method_setImplementation(method, imp)
6363
}
6464

65-
// iOS 13+
6665
let selectorMkIV: Selector = sel_getUid("_elementDidFocus:userIsInteracting:blurPreviousNode:activityStateChanges:userObject:")
6766

6867
if let method = class_getInstanceMethod(targetClass, selectorMkIV) {

ios/Capacitor/Capacitor/WebViewDelegationHandler.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ open class WebViewDelegationHandler: NSObject, WKNavigationDelegate, WKUIDelegat
4747
bridge?.reset()
4848
}
4949

50-
@available(iOS 15, *)
5150
open func webView(
5251
_ webView: WKWebView,
5352
requestMediaCapturePermissionFor origin: WKSecurityOrigin,
@@ -58,7 +57,6 @@ open class WebViewDelegationHandler: NSObject, WKNavigationDelegate, WKUIDelegat
5857
decisionHandler(.grant)
5958
}
6059

61-
@available(iOS 15, *)
6260
open func webView(_ webView: WKWebView,
6361
requestDeviceOrientationAndMotionPermissionFor origin: WKSecurityOrigin,
6462
initiatedByFrame frame: WKFrameInfo,

0 commit comments

Comments
 (0)