I am trying to implement "onTapGesture" and "onLongPressGesture" with different actions on a same view
but I noticed "LongPress Action" has a obvious delay, even I set "minimumDuration" to "0.1", anyone knows why it happens and how to fix it? Thanks very much!!!
example code:
someView()
.onTapGesture {
print("tap")
}
.onLongPressGesture(minimumDuration: 0.1) {
print("long")
}