Latest 1.0.1
Homepage https://github.com/NSJoe/NJNavigationBar
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors


change the bar color of NavigationBar when push or pop

  1. 参考支付宝的navigationBar效果,在push和pop时 颜色渐变,并跟随手势变换
  2. 参考网易云音乐的navigationBar效果,每个vc单独一个navigationBar

已知问题

barStyle 为 NJNavigationBarStyleSingle时,由于是直接盖一个view到当前vc上,所以vc的edgesForExtendedLayout属性相当于一直包含UIRectEdgeTop的状态。NJNavigationBarStyleDefault无此问题。

gif

Latest podspec

{
    "name": "NJNavigationBar",
    "version": "1.0.1",
    "summary": "change the bar color of NavigationBar when push or pop",
    "homepage": "https://github.com/NSJoe/NJNavigationBar",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "NSJoe": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "frameworks": "UIKit",
    "source": {
        "git": "https://github.com/NSJoe/NJNavigationBar.git",
        "tag": "1.0.1"
    },
    "source_files": "source/*.{h,m}"
}

Pin It on Pinterest

Share This