Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Use Feedback Generators To Vibrate An iPhone
Copy link
Facebook
Email
Notes
More

Use Feedback Generators To Vibrate An iPhone

Daily Coding 257

Type Safely's avatar
Type Safely
Mar 02, 2023
∙ Paid

Share this post

Type Safely
Type Safely
Use Feedback Generators To Vibrate An iPhone
Copy link
Facebook
Email
Notes
More
Share
Photo by Dima Solomin on Unsplash

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…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More