We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 056ccbf commit 4c5ae67Copy full SHA for 4c5ae67
Sources/Amplitude/Plugins/iOS/UIKitElementInteractions.swift
@@ -121,8 +121,16 @@ extension UIGestureRecognizer {
121
guard state == .ended, let view else { return }
122
123
// Block scroll and zoom events for `UIScrollView`.
124
- if let scrollView = view as? UIScrollView, self === scrollView.panGestureRecognizer || self === scrollView.pinchGestureRecognizer {
125
- return
+ if let scrollView = view as? UIScrollView {
+ if self === scrollView.panGestureRecognizer {
126
+ return
127
+ }
128
+
129
+#if !os(tvOS)
130
+ if self === scrollView.pinchGestureRecognizer {
131
132
133
+#endif
134
}
135
136
let gestureAction: String?
0 commit comments