Post #634953
2026-01-20 17:50 UTC
I have a SwiftUI -> UIViewRepresentable -> UIView -> UIViewControllerRepresentable -> SwiftUIView
I set up tap gesture recognizer on UIView (works perfectly), which adds a subview (view controller representable), which should react on taps as well, but it ignores them all. View has a button, action is not registered (but visually tap occurs), text field is not editable, tap gesture recognizers are not working.
I am at lost right now, maybe someone would have a lead where to look? #SwiftUI
Replies (1)
-
@Gray_Wind@mastodon.social 2026-01-20 20:48
I have a minimal reproduction if anyone is interested: https://gist.github.com/Gray-Wind/0c027a06c4dd3c7954b5b5995a6cbdd6 #SwiftUI