With iOS 18+ exclusive touch no longer works on buttons (SwiftUI)

We've created a test app to highlight the problem: https://www.dropbox.com/scl/fi/3hl63t772qeguc1bxr9xi/Test.zip?rlkey=pofk3ji2s93ucq3r1l8m39z0u&dl=0

As you can see we have enforced exclusive touch in the init method, a solution which worked until iOS 18 which now doesn't work anymore.

How can we force exclusive touch on SwiftUI in iOS 18+?

@bDev Please file a bug report, include the sample project and post the FB number here once you do.

Bug Reporting: How and Why? has tips on creating your bug report.

Done, thanks. Here is the link to the report: https://feedbackassistant.apple.com/feedback/15829550

With iOS 18+ exclusive touch no longer works on buttons (SwiftUI)
 
 
Q