Advertisement

Apple recommends making apps for all users.  Including those with Visual Impairments.

When a user taps a button or an image, it’s a good idea for the app to acknowledge it so the user knows the button has been pressed.  This article will show an example of how to implement this in your project.

The below code will get this option working:

WKInterfaceDevice.currentDevice().playHaptic(.Click)

… And, that’s it!

But what if you’d wanted a different Haptic tap?  The below is a list of available Haptic tap:

That’s it!

About Post Author

(Visited 1,120 times, 1 visits today)


Advertisement

Dan Uff
Senior Writer / Owner
https://www.compuscoop.com/