TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jun 2016 |
Maintained by Stephanie Sharp.
A UIScrollView subclass that fades the leading and/or trailing edges of a scroll view to transparent. It animates the gradient in and out based on the current content offset, and uses a mask to fade the scroll view content without also fading the scroll bars.
Fade leading edge of fade axis. Default is YES.
Fade trailing edge of fade axis. Default is YES.
Size of gradient. Default is 30.
Duration of fade in & out. Default is 0.3 seconds.
Default is YES. Scroll bars are masked so they don't fade with the scroll view content. Set to NO to fade out the scroll bars along with the content.
With thanks to:
Photos in the demo project were sourced from Unsplash.
SSFadingScrollView is released under the MIT license. See LICENSE for details.