ARTICLE AD BOX
I created a SwiftUI view and embedded it into UIKit using a UIHostingController, placing it as a floating view inside a UIKit view controller.
However, when I tap on the SwiftUI view, the touch event is being captured by the underlying UIKit view instead. Has anyone faced this issue?
1
Sorted by: Reset to default

2
Please show a minimal reproducible example.
Benzy Neez
– Benzy Neez
2026-03-20 17:06:12 +00:00
Commented 14 hours ago