Make scrollbars always visible in uiscrollview [duplicate]

不羁岁月 提交于 2019-12-12 15:12:58

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!