[英]Always Make Scrollbar Visible in UIScrollview
I would like to show the Scroll bar indicators always visible so that the user knows there is something to scroll. 我想显示滚动条指示器始终可见,以便用户知道要滚动的内容。 So I have gone through this link .
所以我已经通过这个链接 。 It is working fine but At the very first time it is not showing the Scroll bar indicator .
它工作正常,但第一次没有显示滚动条指示器。 ie Whenever ViewDidLoad is calling the scrollview not showing the scrollbarindicator, but after scrolling the scrollview few pixel it always showing the Scroll bar indicators .
即,无论何时ViewDidLoad调用scrollview都不显示scrollbarindicator,但是在滚动scrollview几个像素后,它始终显示Scroll bar指示器。 Any ideas or suggestions could be very greatful .
任何想法或建议都可能很棒。 Thanks in advance .
提前致谢 。
尝试在ViewDidAppear中而不是ViewDidLoad中添加代码。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.