Explores common issues with SwiftUI's LongPressGesture when trying to track press state changes. The onChanged callback doesn't trigger when minimumDuration is 0, and the updating callback has similar limitations. The solution involves using the onLongPressGesture modifier with onPressingChanged parameter, which works reliably even with zero minimum duration.

Sort: