iOS 10: Providing Haptic Feedback | Ray Wenderlich

iPhone 7 includes Apple's Taptic Feedback Engine. Discover how to make use of it using the new UIFeedbackGenerator class.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/4993-ios-10-providing-haptic-feedback

I think taptic engine was first introduced on iphone6s, but apparently UIFeedbackGenerator can only be used on iphone7 and above according to the API document.

1 Like

@wangguan1 - you are correct; the Taptic Engine was introduced in iPhone 6s - I didn’t know that - thanks!

Not sure why that means you can’t use UIFeedbackGenerator then, I guess the 2nd generation has additional functionality?

sam

Thanks for replying Sam, I checked the UIFeedbackGenerator API doc (https://developer.apple.com/reference/uikit/uifeedbackgenerator), it said the API supports iphone7 and above, and like you said in the video, it is a “useless” API unless developers have the brand new iphone7.

1 Like