mlem icon indicating copy to clipboard operation
mlem copied to clipboard

[2.0] Haptic Model

Open Sjmarf opened this issue 1 year ago • 0 comments

iOS 17 includes a new .sensoryFeedback view modifier that could be useful for this.

We could attach the modifier to ContentView, and trigger it via calls to a HapticModel singleton. This should be relatively simple to do.

It looks like .sensoryFeedback has many different types of haptic feedback built-in, including .success, .error etc. We may want to consider using these over the custom ones we use currently.

Sjmarf avatar May 09 '24 11:05 Sjmarf