This is really hacky (esp the part where he uses dispatch async in UIKit’s hit test code) but so far the only solution I’ve seen for real UIKit +SwiftUI any-shape touch pass-through. Great hack, Christian!
---
RT @priva28_
it really REALLY annoyed me how UIHostingController caught all touches, when the background was clear and there wasn’t any SwiftUI views there. so I made a quick package to fix it:
https://github.com/Priva28/HostingPass…
https://twitter.com/priva28_/status/1612799309325664256
---
RT @priva28_
it really REALLY annoyed me how UIHostingController caught all touches, when the background was clear and there wasn’t any SwiftUI views there. so I made a quick package to fix it:
https://github.com/Priva28/HostingPass…
https://twitter.com/priva28_/status/1612799309325664256
