I was wrong. I want to hide scroll bar of webview not disable scroll. Something like this:
webView.scrollView.showsHorizontalScrollIndicator = NO;
webView.scrollView.showsVerticalScrollIndicator = NO;
I tried:
no.GetField("scrollView").SetField("showsHorizontalScrollIndicator", "NO")
but it doesn't work.
It still doesn't work:
[<_UIWebViewScrollView 0x16eb7190> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key showsVerticalScrollIndicator .
Dim wv As WebView
wv.Initialize("wv")
Dim no As NativeObject = wv
no.GetField("scrollView").SetField("showsHorizontalScrollIndicator", False)
no.GetField("scrollView").SetField("showsVerticalScrollIndicator", False)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.