As per today, Apple does not provide third-party apps with access to customize the press duration for the onLongPressGesture modifier.
As a workaround, you might allow users to adjust the press length in your app's settings to cater to their preferences.
It would indeed be helpful if Apple made the default press duration for onLongPressGesture align with the user's accessibility settings. However, this seems like a rare use case, as most users likely stick with the default value, making it less critical to address. 🤷♂️
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: