UIFeedbackGenerator subclass that creates haptics to communicate successes, failures, and warnings.
- iOS 10.0+
- Mac Catalyst 13.0+Beta
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.
Initializing the Notification Feedback Generator
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software