Latest 1.0.0
Homepage https://github.com/junhaiyang/UINavigationControllerExt
License MIT
Platforms ios 6.0, requires ARC
Authors

使用

UINavigationController *navigationController =[[UINavigationController alloc] initWithRootViewController:[[UIViewController alloc] init]];

[navigationController.navigationBar setBackgroundImage:[UIImage imageNamed:@"nav_bg.png"]];

[navigationController.navigationBar setTitleColor:[UIColor whiteColor]];

tabbaritem

self.navigationItem.indicatorImage =[UIImage imageNamed:@"nav_bak"];
self.navigationItem.indicatorHighlightedImage =[UIImage imageNamed:@"nav_bak_hl"];

[self.navigationItem setLeftBarButtonTitle:title  target:self action:@selector(leftButtonAction) indicator:showImage];

 [self.navigationItem setRightBarButtonTitle:rightStr  target:self action:@selector(rightButtonAction)];

Latest podspec

{
    "name": "UINavigationControllerExt",
    "version": "1.0.0",
    "summary": "u7b80u5316UINavigationControlleru65b9u6cd5",
    "homepage": "https://github.com/junhaiyang/UINavigationControllerExt",
    "license": "MIT",
    "authors": {
        "yangjunhai": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/junhaiyang/UINavigationControllerExt.git",
        "tag": "1.0.0"
    },
    "requires_arc": true,
    "source_files": "*.{h,m,mm}"
}

Pin It on Pinterest

Share This