search

Home  >  Q&A  >  body text

javascript - ios webview How to prevent the scroll bar from being dragged when it reaches the top?

webview has set webView.scrollView.bounces = NO;

The outermost layer of webview can no longer be dragged

But the overscroll element inside the webview will still have a drop-down drag effect

How to ban?

There is no such problem on Android.

曾经蜡笔没有小新曾经蜡笔没有小新2739 days ago1288

reply all(1)I'll reply

  • 習慣沉默

    習慣沉默2017-06-24 09:46:25

    试试webView.scrollView.scrollEnabled = NO;

    reply
    0
  • Cancelreply