Thanks, worked like a charm! Also I tried it with the .gesture() view modifier the following way and worked as well: "TapGesture().exclusively(before: longPressGesture)".
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: