开发者

UIScrollView indicator always show?

开发者_高级运维

its possible to make UIScrollView indicator always show? and not only when scrolling!

Thank you.


You can't. This is part of the interface guidelines. What you can do alternatively is flash them in some sensible circumstances (the view becomes visible, moves onto the screen, or similar) using the - (void)flashScrollIndicators method.


You can use this custom scroll bar:
https://github.com/BasheerSience/BRScrollBar

To always show the scroll bar you just need to do this:

brScrollBar =[BRScrollBarController initForScrollView:self.tableView
                                               onPosition:kIntBRScrollBarPositionRight
                                                 delegate:self];
brScrollBar.scrollBar.hideScrollBar = NO;

The scroll bar has many features, and its draggable.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜