Skip to content

Hide your toolbars with a swipe. Just like Safari for iOS.

License

Notifications You must be signed in to change notification settings

Livestream/AFSwipeToHide

 
 

Repository files navigation

AFSwipeToHide

Version License Platform

A simple utility class to help achieve Safari's swipe-to-hide effect.

This class provides all the logic for creating the effect, but is completely decoupled from UI classes so it integrates cleanly with existing code. It can be easily used as a UIScrollViewDelegate or on its own. Check out the example project for simple usage (shown in the animation below).

Works with iOS 5.0+

AFSwipeToHide in action

Installation

AFSwipeToHide is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "AFSwipeToHide"

Author

@oztune from @appFigures

License

AFSwipeToHide is available under the MIT license. See the LICENSE file for more info.

About

Hide your toolbars with a swipe. Just like Safari for iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 58.7%
  • Shell 26.9%
  • Ruby 11.1%
  • C 3.3%