开发者

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜