Stats

51 Contributors: 1 Wednesday, May 24, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap

UIFeedbackGenerator

Introduction

UIFeedbackGenerator and its subclasses offers a public interface to the Taptic EngineĀ® found on iOS devices starting with iPhone 7. Haptics, branded Taptics, provide tactile feedback for on-screen events. While many system controls provide haptics out-of-the-box, developers can use UIFeedbackGenerator subclasses to add haptics to custom controls and other events. UIFeedbackGenerator is an abstract class that should not be used directly, rather developers use one of its subclasses.

Related Examples