views:

1109

answers:

2

Hi all,

Possibly a simple one!

Does anyone know how to get the scroll bar of a UIScrollView to constantly show?

It displays when the user is scrolling, so they can see what position of the scroll view they are in.

BUT i would like it to constantly show because it is not immediately obvious to the user that scrolling is available

Any advice would be highly appreciated

Thanks!

Tom

+5  A: 

No you cant make them always show, but you can make them temporarily flash.

[myView flashScrollIndicators];

They are scroll indicators, not scroll bars. You cant use them to scroll.

Mongus Pong
Right, it would be an inconsistent user experience if they were there all the time. This is the correct approach.
David Dunham
If you have control over the content, you can give the users clues the content is scrollable by having some of the content overlap the boarders. Like an image only showing part, which would suggest more content. Then the user is apt to experiment and swipe to see more.
Sophtware
+1  A: 

As far as I know, this isn't possible. The only API call which controls displaying the scroll indicator is showsVerticalScrollIndicator and that can only disable displaying the indicator altogether.

You could flashScrollIndicators when the view appears so that the user knows where in the scroll view they are.

Ben S