Following up, I was able to stack .onLongPressGesture(minimumDuration: 0.01) { ... } and .onLongTouchGesture(minimumDuration: 0.01) {...} successfully as a workaround. Otherwise, I've been having some issues wirelessly debugging on a physical device and haven't tried using simultaneousGesture yet
Post
Replies
Boosts
Views
Activity
@DTS Engineer It seems that the tap event only fires if the Select button is double-clicked.
I've tried replacing the .onTapGesture with:
.onTapGesture(count: 1) { ... }
.gesture(TapGesture().onEnded { ... })
.highPriorityGesture(TapGesture().onEnded { ... })
These all produce the same results, where the closure only runs when the Select button is very quickly double-clicked.
I am not using these tap gesture listeners on a Menu, but just on a SwiftUI view, so this isn't isolated to the Menu view type.
In my experience, this is not reproducible on tvOS 18 Simulators, but is reproducible on physical hardware. As additional context, this happens while using both versions of the Siri remote (A1513 and A2540) and on both Apple TV models that I've tested with (A1625 and A2169).
As previously noted by @aanderson27 , this is a regression that has started happening with tvOS 18 and does not affect code running on tvOS 17.x or earlier.
It looks like tvOS didn't get the x.x.1 release that iOS and iPadOS both received, so this is still very broken.
@orekpl were you able to find a workaround?
I'm experiencing the same issue. Did you find a solution?
I'm seeing this happen in a tvOS 17.2 simulator on Xcode 15.2 as well
I'm seeing this happen while testing with the Xcode Transactions Manager and using a StoreKit configuration file. Does this bug only affect this test environment or do we know if it's working fine in prod?
I'm having this problem too. Did you find a resolution?