maml / UINavigationBar-Addition

Hide the 1px bottom hairline in UINavigationBar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 the hairline in viewDidLoad.

- (void)viewDidLoad {
    [super viewDidLoad];

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

Author

Junda, junda@just2us.com

License

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

Bitdeli Badge

About

Hide the 1px bottom hairline in UINavigationBar

License:MIT License


Languages

Language:Objective-C 54.0%Language:Ruby 46.0%