Hide the 1px bottom hairline in UINavigationBar
Objective-C Ruby
Latest commit 1b56491 Nov 12, 2015 @samwize Bump version
Reindent consistently with tabs

README.md

UINavigationBar+Addition

Version Platform

Usage

UINavigationBar+Addition is available through CocoaPods, to install, simply add the following line to your Podfile:

pod "UINavigationBar+Addition"

In your view controller, import the category header file.

#import "UINavigationBar+Addition.h"

Hide Hairline

Hide the (1px bottom) hairline of nav bar

- (void)viewDidLoad {
    [super viewDidLoad];

    UINavigationBar *navigationBar = self.navigationController.navigationBar;
    [navigationBar hideBottomHairline];
}

Make Transparent

Or make the whole nav bar transparent with [navigationBar makeTransparent];

Author

Junda, junda@just2us.com

License

UINavigationBar+Addition is available under the MIT license. See the LICENSE file for more info.

Bitdeli Badge