Skip to content
 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

RTCleanNavigationBar

UINavigationBar subclass that removes the shadow image while retaining translucency effect in iOS 7 and up

Usage

You need to initialize the UINavigationController to use this subclass, like this:

UIViewController *vc = ...;
UINavigationController *nc = [[UINavigationController alloc] 
	initWithNavigationBarClass:[RTCleanNavigationBar class] 
	toolbarClass:nil];
[nc setViewControllers:@[vc]];
...

In order for the bar to seamlessly blend with the view controller contents, set its barTintColor to the VC's background.

[[UINavigationBar appearance] setBarTintColor:[UIColor whateverColor]];

About

UINavigationBar subclass that removes the shadow image while retaining translucency effect in iOS 7 and up

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages