How to add Haptic Feedback for Apple Watch in Xcode
Apple recommends making apps for all users. Including those with Visual Impairments.
Thank you for reading this post, don't forget to subscribe!
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,133 times, 1 visits today)
Discover more from CompuScoop.com
Subscribe to get the latest posts sent to your email.