A concrete UIFeedback
subclass that creates haptics to communicate successes, failures, and warnings.
SDK
- iOS 10.0+
Framework
- UIKit
Declaration
class UINotificationFeedbackGenerator : UIFeedback Generator
Overview
Use notification feedback to communicate that a task or action has succeeded, failed, or produced a warning of some kind.
For more information, see Using Feedback Generators.