Waldemar Lima Well-Known Member Licensed User Longtime User Oct 3, 2020 #1 hello everyone ! have a way to implement an action to reload webview when pull down ?
Semen Matusovskiy Well-Known Member Licensed User Oct 4, 2020 #2 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: 276 Last edited: Oct 4, 2020 Upvote 0
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.