Use Feedback Generators To Vibrate An iPhone
Daily Coding 257
The iPhone is capable of 9 kinds of haptic feedback that are built into subclasses of UIFeedbackGenerator.
When you change a selection in a Picker you get a light vibration from a UISelectionFeedbackGenerator. While there is only one way a selection can change, there are 3 kinds of notification vibration in a UINotificat…


