mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Experiment
This commit is contained in:
parent
8e9cd79855
commit
8005726b3d
9 changed files with 216 additions and 31 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue