使滚动条在 uiscrollview 中始终可见 [英] Make scrollbars always visible in uiscrollview
本文介绍了使滚动条在 uiscrollview 中始终可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能的重复:
UIScrollView - 显示滚动条
如何使 scrollbars
在 uiscrollview
中始终可见.我使用了 flashscrollindicators
它没有任何意义.
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;
但是只有在我开始滚动 uiscrollview
后滚动条才可见.
but the scrollbars are visible only after I start scrolling the uiscrollview
.
我想让滚动条在 uiscrollview 中始终可见
I want to make the scrollbars always visible in uiscrollview
推荐答案
您可以闪烁它们,但没有使它们始终可见的选项:
You can flash them but there isn't an option to make them always visible:
[myScrollView flashScrollIndicators];
尽管在 问题 1888647
这篇关于使滚动条在 uiscrollview 中始终可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文