UIWebView never displays scroll bar
I have a UIWebView displaying content of multiple pages in length.
The problem is this: a scroll bar never appears while the user is scrolling the content vertically (unlike in Safari, or in other apps using what appears to be UIWebView). I can't see any way to control this programmatically.
Behaviour is the same on iOS 3.1 through 4.2, on both iPhone and iPad, both de开发者_Go百科vice and simulator.
Anyone have any ideas?
Are you sure the WebView
is not slightly bigger than its parent? If it's a bit too big the scroll bars might actually be there but off the screen.
[(UIScrollView*)[webview.subviews objectAtIndex:0] setShowsVerticalScrollIndicator:YES];
精彩评论