Noha Mohamed Noha Mohamed - 26 days ago 6
iOS Question

iOS 10 iPhone 6S Play Haptic feedback or vibrate using taptic engine

Iphone6s has taptic engine or not, can I use a public API called

UIFeedbackGenerator
to access it?

xta xta
Answer

No, the taptic engine currently is only available on the iPhone 7 and 7+.

At this time, only the new Taptic Engine found in the iPhone 7 and iPhone 7 Plus support these APIs. Other devices silently ignore the haptic requests.

https://www.hackingwithswift.com/example-code/uikit/how-to-generate-haptic-feedback-with-uifeedbackgenerator

On iPhone 6s, your device can call UIFeedbackGenerator, but nothing will happen since the taptic hardware is not present in the phone.