1

Is it possible to read the option in the iOS settings whether the haptic feedback is activated or deactivated?

Stefan
  • 190
  • 1
  • 11
  • do you want to check whether the haptic is supported by the device or not? – HardikS Jan 23 '20 at 08:57
  • In the iOS system settings it is possible to deactivate the haptic feedback. I would like to read this option. – Stefan Jan 23 '20 at 08:59
  • I think there is no native way to check whether it is haptic feedback is disable or not. – HardikS Jan 23 '20 at 09:04
  • Therefore I asked this question :-). I would like to replace dialogues with haptic feedback. To do this, I need to know whether the feedback notification is taking place. Unfortunately, I couldn't find anything in the Apple Inc. documentary. It is also possible with the camera and the microphone. – Stefan Jan 23 '20 at 09:10

1 Answers1

3

Response

Apple doesn't provide any API to check if a Vibrations are enabled on a device. Only one thing which can be tested is a device compatibility with Core Haptics Framework

Not all devices support Core Haptics. For example, iPad and iPod touch don’t support haptic feedback, so calls to Core Haptics won’t result in haptics. source

Remarks:

System Haptics were renamed and now are called Vibrations in Settings app. This technology in Apple Developer Documentation for Developers is called Haptic Feedback.

Blazej SLEBODA
  • 8,936
  • 7
  • 53
  • 93
  • Please post this as a comment as its referencing another answer on the StackOverflow. Follow the guidelines for the same [Here](https://stackoverflow.com/help/how-to-answer) – HardikS Jan 23 '20 at 09:15
  • The question I asked related to haptic feedback. This does not mean Force Touch. A user can activate or deactivate the system haptics under iOS Settings / Sounds and Haptics. I would like to read the value here. – Stefan Jan 23 '20 at 20:03