a_triant
a_triant

Reputation: 337

UIScrollView indicator always show?

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

Thank you.

Upvotes: 27

Views: 25573

Answers (2)

Basheer_CAD
Basheer_CAD

Reputation: 4919

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.

Upvotes: 1

rfunduk
rfunduk

Reputation: 30442

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.

Upvotes: 33

Related Questions