• Stars
    star
    297
  • Rank 140,075 (Top 3 %)
  • Language
    Objective-C
  • License
    MIT License
  • Created about 10 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.