Skip to content
An category for UIImpactFeedbackGenerator.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
UIImpactFeedbackGenerator+Feedback
.gitattributes
.gitignore
LICENSE
README.md

README.md

TapticEngineFeedback

One line to generate feedback through Taptic Engine with three diverse feedback :0

Feature

  • Category, no side effects.

Requirements

Any Devices with Taptic Engine.

Usage

Import the .h file in which you want to generate feedback.

#import "UIImpactFeedbackGenerator+Feedback.h"

Call the class method to make effect.

[UIImpactFeedbackGenerator generateFeedbackWithLightStyle];

We have provided with three class methods, choose whichever you want.

+ (void)generateFeedbackWithLightStyle;
+ (void)generateFeedbackWithMediumStyle;
+ (void)generateFeedbackWithHeavyStyle;

License

TapticEngineFeedback is released under the MIT license. See LICENSE for details.

You can’t perform that action at this time.