HapticButton is an open source button component that is triggered based on touch pressure with haptic feedback inspired by the iOS 10 and 11 control center.
With haptic button you can customize the color, and text of the button, and add an image if desired. You can set the level at which haptic feedback is triggered.
This animation from the readme shows a few buttons created with Haptic Button:
You can find HapticButton on Github here.
A nice easy to use component for creating buttons with haptic feedback.
Original article: HapticButton – Swift UI Component For Easily Creating Custom Buttons With Haptic Feedback
©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.
