iOS Question [ WebView ] Pull down reload webview ?

Semen Matusovskiy

Well-Known Member
Licensed User
If you mean, how to detect scrolling - yes, it's possible and enough simple.
Make a delegate
B4X:
    Dim no As NativeObject = WebView1
    no.GetField ("scrollView").SetField ("delegate", Me)
and add callback functions. For example
B4X:
#IF OBJC
- (void) scrollViewDidScroll: (UIScrollView *) scrollView  { ... }
#End If
See descriptions in https://developer.apple.com/documen...ate/1619392-scrollviewdidscroll?language=objc

I attached a small project.
 

Attachments

  • s21.zip
    2.3 KB · Views: 191
Last edited:
Upvote 0
Top