Get Updates By E-mail 

Article Written By:
Johann Dowa

iOS Open Source Traditional Custom Scroll Bar Control With Progress Indicator

  •  
  •  
  •  
  •  
  •  

One of the issues with scrolling on an iPhone or iPad using a typical UIScrollView is that scrolling through very long pieces of content it can be impractical with all the finger flicking.

Here’s a custom iOS user interface control that provides a real scroll bar with a scroll handle.  You simply place your finger on the scrollbar (the control works with a UIScrollView or UIScrollView subclass) and slide to the desired location, there’s also an indicator that shows up displaying where you are on the page much like the indicator in the Path 2 app.

You can adjust the color, width (when the scrollbar is selected, and when it’s not), and the hit area of the scroll handle.
Here’s a shot of the two images from the readme showing a regular thin iOS scrollbar alongside an active WKVerticalScrollBar implementation:

WKVerticalScrollBar

And here’s a video showing WKVerticalScrollBar in action:

The control is WKVerticalScrollBar from litl and can be found on Github here with an example and further documentation.

A great custom control if you’ve got any long table views or text in your app.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments