Move iPhone vibrations from safari

Asked 2 years ago, Updated 2 years ago, 157 views

I'd like to move the iPhone vibration when I tap the screen from safari. Is there any way?

javascript ios html

2022-09-30 21:43

1 Answers

According to Can I use...Support tables for HTML5, CSS3, etc, Safari does not support Vibration API, so I don't think it's possible at this time."reference="https://caniuse.com/"reference="="referenceib"rebation #"l" re"volution[1]

Safari is not supported by the Vibration API in Can I use

This is a limited alternative, but using a mobile application development framework such as React Native, access to the vibrator via native modules allows the vibrator to work even if it does not support Vibration API.


2022-09-30 21:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.