问题
Possible Duplicate:
UIScrollView - showing the scroll bar
How to make scrollbars always visible in uiscrollview. I used the flashscrollindicators it does not make any sense.
I used this code to enable scroll indicator
hscroll.showsHorizontalScrollIndicator=YES;
but the scrollbars are visible only after I start scrolling the uiscrollview.
I want to make the scrollbars always visible in uiscrollview
回答1:
You can flash them but there isn't an option to make them always visible:
[myScrollView flashScrollIndicators];
Although a possible workaround is described in question 1888647
来源:https://stackoverflow.com/questions/13562134/make-scrollbars-always-visible-in-uiscrollview