Latest 1.2.5
License MIT
Platforms ios 8.0

what does it do

Gives you a simple way to control the transparency of your navigation bar.
And provides transition animations when your view controllers navigate.
It ONLY supports navigation bars with translucent set to NO. i.e. no blur effects

how to integrate

pod ‘DFTransparentNavibar’

how to use it:

  1. Set a default navi bar background image/color in [DFTransparentNavibarConfigure config] before any of your view controller initialized.

  2. Control navigation bar’s alpha by setting navibarAlpha of each view controller. Or override – (CGFloat)defaultNavibarAlpha to provide a default value for each of them.

  3. If you need a navigation bar to be other than the default background. Override the following methods in the each view controllers:

    • (UIImage*)tnw_customizeNavibarBGImage;
    • (UIColor*)tnw_customizeNavibarBGColor;
    • (UIColor*)tnw_customizeNavibarTintColor;
    • (UIFont*)tnw_customizeNavibarTitleFont;
  4. The – (UIColor*)tnw_customizeNavibarTintColor only change title text color of the bar.
    You should manage the colors if you have other navigation items or navigation title view.
See demo for detail.
Feel free to email me. [email protected]

Latest podspec

    "name": "DFTransparentNavibar",
    "version": "1.2.5",
    "summary": "DFTransparentNavibar helps you to manage transparent navigation bar stuff",
    "description": "You set the navibar's color/backgound in a shared instance.nAll your navi bar will be set.n              You can control the navi bar's alpha by setting the navibarAlpha of UIViewControllernImplement twn_customizedNavibarBackgroundColor in UIViewController for exceptionsnBear in mind that the navigation bar translucent should always be set to YES",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "WANG Haojiao": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "1.2.5"
    "source_files": "TransparentNavibar/DFTransparentNavibar/**/*.{h,m}"

Pin It on Pinterest

Share This