[](https://travis-ci.org/Gruber Kristóf/GKFadeNavigationController)
This is an example implementation of a UINavigationController with support of animated hiding and showing it's Navigation Bar.
- Animates tint color
- Takes care of the status bar color
- Similar pattern to
-preferredStatusbarStyle - Uses native controls where possible (e.g. back button)
- Native looking translucent header
- Demo project with elastic header image
- To run the example project, clone the repo, and run
pod installfrom the Example directory first. - Set your Navigation Controller class to
GKFadeNavigationControllerin Storyboard - Make your view controllers to conform
GKFadeNavigationControllerDelegateprotocol - Implement
-preferredNavigationBarVisibility(returnGKFadeNavigationControllerNavigationBarVisibilityHiddenorGKFadeNavigationControllerNavigationBarVisibilityVisible) - Send a
-setNeedsNavigationBarVisibilityUpdateAnimated:animatedmessage to the navigation controller when you want to hide or show the navigation bar
- iOS 8+
GKFadeNavigationController is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "GKFadeNavigationController"- Does not handle screen rotation fully
- Supports only light navigation bar style out of the box
- Items under the header are not clickable
- Changing the status bar color happens in
-viewDidAppearcurrently
Gruber Kristóf, [email protected], @gklka
GKFadeNavigationController is available under the WTFPL license. See the LICENSE file for more info.
