Experiment

This commit is contained in:
Isaac 2026-02-05 14:58:39 +08:00
parent 8e9cd79855
commit 8005726b3d
9 changed files with 216 additions and 31 deletions

View file

@ -162,12 +162,8 @@ final class WebAppWebView: WKWebView {
self.isOpaque = false
self.backgroundColor = .clear
if #available(iOS 9.0, *) {
self.allowsLinkPreview = false
}
if #available(iOS 11.0, *) {
self.scrollView.contentInsetAdjustmentBehavior = .never
}
self.allowsLinkPreview = false
self.scrollView.contentInsetAdjustmentBehavior = .never
self.interactiveTransitionGestureRecognizerTest = { point -> Bool in
return point.x > 30.0
}