問(wèn)題描述
可能很簡(jiǎn)單!
有誰(shuí)知道如何讓 UIScrollView 的滾動(dòng)條不斷顯示?
Does anyone know how to get the scroll bar of a UIScrollView to constantly show?
它在用戶(hù)滾動(dòng)時(shí)顯示,因此他們可以看到他們所在的滾動(dòng)視圖的位置.
It displays when the user is scrolling, so they can see what position of the scroll view they are in.
但我希望它不斷顯示,因?yàn)橛脩?hù)無(wú)法立即看到滾動(dòng)可用
BUT I would like it to constantly show because it is not immediately obvious to the user that scrolling is available
任何建議將不勝感激.
推薦答案
不,你不能讓它們一直顯示,但你可以讓它們暫時(shí)閃爍.
No, you can't make them always show, but you can make them temporarily flash.
[myScrollView flashScrollIndicators];
它們是滾動(dòng)指示器,而不是滾動(dòng)條.你不能用它們來(lái)滾動(dòng).
They are scroll indicators, not scroll bars. You can't use them to scroll.
這篇關(guān)于UIScrollView - 顯示滾動(dòng)條的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!