How to cancel the elastic springback of iOS webview in iOS 12 + version

env: cordova+h5;
OS: iOS;

issue: how to cancel the elastic springback effect on iOS12+ version?

Jun.15,2022

set it in config.xml

<platform name="ios">
    <preference name="UIWebViewBounce" value="false" />
    ... (other stuff) ...
</platform>

find the api of cordova to call the native method,

iOS webview is a subclass of UIScrollView in native. Cancel the springback effect of iOS webview and set the bounces property of UIScrollView to false.


if you don't change it quickly, WK,iOS13 has been abandoned and Apple will impose audit restrictions.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e7e7f5-467ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e7e7f5-467ba.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?