I want to hide the keyboard with the scrollview like in all other apps i'm using.
I found this:
and this:
but if i set this then this error occurs:
with this code:
what am i doing wrong?
I found this:
Dismiss keyboard with swipe gesture
In Messages.app you can dismiss the keyboard down by scrolling the list view. To be clear, it isn't simply responding to a scrollViewDidScroll event. The keyboard tracks with your finger as you swipe
stackoverflow.com
UIScrollView.KeyboardDismissMode | Apple Developer Documentation
Constants that determine how the system dismisses the keyboard when a drag begins in the scroll view.
developer.apple.com
B4X:
Method not found: KeyboardDismissMode:, target: <UIScrollView: 0x11c00c600; frame = (0 0; 428 845); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x283053360>; layer = <CALayer: 0x283e5df00>; contentOffset: {0, 0}; contentSize: {428, 0}; adjustedContentInset: {0, 0, 0, 0}>
B4X:
Dim no As NativeObject = xclv_chat.sv
no.RunMethod("KeyboardDismissMode:", Array(2))