LTNavigationBar alternatives and similar libraries
Based on the "Navigation Bar" category.
Alternatively, view LTNavigationBar alternatives based on common mentions on social networks and blogs.
-
BusyNavigationBar
A UINavigationBar extension to show loading effects -
TONavigationBar
Replicating the 'clear' navigation bar style of the iOS 12 Apple TV app. -
KDInteractiveNavigationController
A UINavigationController subclass that support pop interactive UINavigationbar with hidden or show. -
NavKit
Simple and integrated way to customize navigation bar experience on iOS app.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of LTNavigationBar or a related project?
README
Deprecated
This lib uses a hacky way to achieve the result, in the new iOS version, the structure of UINavigation is changed and this lib no longer works anymore, so please check these alternatives:
- https://github.com/andreamazz/AMScrollingNavbar
- https://github.com/DanisFabric/RainbowNavigation
- https://github.com/MoZhouqi/KMNavigationBarTransition
swift version
https://github.com/ltebean/LTNavigationBar/tree/swift3.0
Purpose
It is hard to change the appearance of UINavigationBar dynamically, so I made this lib to make the job easy.
Demo
1. Changing the background color:
2. Making navigation bar scroll along with a scroll view:
Usage
First, import this lib:
#import "UINavigationBar+Awesome.h"
The category includes lots of method that helps to change UINavigationBar's appearance dynamically:
@interface UINavigationBar (Awesome)
- (void)lt_setBackgroundColor:(UIColor *)backgroundColor;
- (void)lt_setElementsAlpha:(CGFloat)alpha;
- (void)lt_setTranslationY:(CGFloat)translationY;
- (void)lt_reset;
@end
You can call the various setter wherever you want, like:
[self.navigationController.navigationBar lt_setBackgroundColor:[UIColor blueColor]];
And usually in viewWillDisappear
, you should call this method to avoid any side effects:
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
[self.navigationController.navigationBar lt_reset];
}
See the example for details~