Latest 1.0.0
Homepage https://github.com/karosLi/KRSFakeNavigationBar
License MIT
Platforms ios 7.0
Frameworks Foundation, UIKit
Authors

A fake navigation bar for each view controller, so that you can customlize nav bar style on different screen

demo

How To Use?

  1. Here is the switch which can turn on/off the fake navigation bar function.

    - (void)viewDidLoad {
    [super viewDidLoad];
    self.krs_EnableFakeNavigationBar = YES;
    }
  2. You just use origin way to set navigation bar style, no complex grammer, so easy.

    - (void)viewDidLoad {
    [super viewDidLoad];
    self.krs_EnableFakeNavigationBar = YES;
    
    self.title = @"Third";
    self.navigationController.navigationBar.translucent = NO;
    self.navigationController.navigationBar.barTintColor = RandomColor;
    }

Note

  1. You should put all navigation bar style settings into method viewDidLoad.
  2. Any issue please free let me know.

Latest podspec

{
    "name": "KRSFakeNavigationBar",
    "version": "1.0.0",
    "summary": "A Fake Navigation Bar For Each View Controller.",
    "description": "A fake navigation bar for each view controller, so that you can customlize nav bar style on different screen.",
    "homepage": "https://github.com/karosLi/KRSFakeNavigationBar",
    "license": "MIT",
    "authors": {
        "karosLi": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/karosLi/KRSFakeNavigationBar.git",
        "tag": "1.0.0"
    },
    "source_files": [
        "KRSFakeNavigationBar",
        "KRSFakeNavigationBar/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "libraries": "objc"
}

Pin It on Pinterest

Share This