Search code examples
iphoneobjective-cuiscrollviewscrollbar

UIScrollView - showing the scroll bar


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.


Solution

  • No, you can't make them always show, but you can make them temporarily flash.

    [myScrollView flashScrollIndicators];
    

    They are scroll indicators, not scroll bars. You can't use them to scroll.