本文介紹了UIScrollView - 顯示滾動條的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
可能很簡單!
有誰知道如何讓 UIScrollView 的滾動條不斷顯示?
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
任何建議將不勝感激.
推薦答案
不,你不能讓它們一直顯示,但你可以讓它們暫時閃爍.
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.
這篇關于UIScrollView - 顯示滾動條的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!