Web app improvements

This commit is contained in:
Ilya Laktyushin
2023-09-07 22:52:49 +04:00
parent 1113279e17
commit d86a8785b0
10 changed files with 156 additions and 51 deletions

View File

@@ -88,9 +88,9 @@ final class WebAppWebView: WKWebView {
return point.x > 30.0
}
self.allowsBackForwardNavigationGestures = false
if #available(iOS 16.4, *) {
self.isInspectable = true
}
// if #available(iOS 16.4, *) {
// self.isInspectable = true
// }
handleScriptMessageImpl = { [weak self] message in
if let strongSelf = self {