its possible to make UIScrollView indicator always show? and not only when scrolling!
Thank you.
Indicator only to reappear when the user touches the screen. To show indicator continuously without touching screen you can add flashScrollIndicators() method in Timer.
Displays the scroll indicators momentarily. iOS 2.0+ iPadOS 2.0+ Mac Catalyst 13.0+ tvOS 9.0+
Create the custom scroll barAdd a View component whose height is set to 100% . This will display the scroll bar with as much height as the height of its parent container. The width in the above code snippet can be customized with the value you can provide.
The scroll view displays its content within the scrollable content region. As the user performs platform-appropriate scroll gestures, the scroll view adjusts what portion of the underlying content is visible. ScrollView can scroll horizontally, vertically, or both, but does not provide zooming functionality.
You can't. This is part of the interface guidelines. What you can do alternatively is flash them in some sensible circumstances (the view becomes visible, moves onto the screen, or similar) using the - (void)flashScrollIndicators
method.
You can use this custom scroll bar:
https://github.com/BasheerSience/BRScrollBar
To always show the scroll bar you just need to do this:
brScrollBar =[BRScrollBarController initForScrollView:self.tableView onPosition:kIntBRScrollBarPositionRight delegate:self]; brScrollBar.scrollBar.hideScrollBar = NO;
The scroll bar has many features, and its draggable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With