Skip to content

appcoda/HapticFeedback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

A Simple Demo for Haptic Feedback in iOS 11

Apple implements haptic feedback throughout almost all elements of iOS from rich-notifications on the lock screen to confirming a successful transaction in Apple Pay, even on scroll wheels and sliders. It is important to make a user more confident in the actions they perform, and using the haptic engine to portray messages is a great way of confirming a message you want the user to receive.

Lucky for us, Apple has made implementing specific feedback patterns really easy for us so this will be a relatively short tutorial. Lets break down some of these different classes we’re supplied:

  1. UIImpactFeedbackGenerator
  2. UISelectionFeedbackGenerator
  3. UINotificationFeedbackGenerator

For details, you can check out the full tutorial here:

http://www.appcoda.com/haptic-feedback

About

A Simple Demo for Haptic Feedback in iOS 11

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages