Latest 0.2.0
Homepage https://github.com/thefuntasty/TFTransparentNavigationBar
License MIT
Platforms ios 8.0, requires ARC
Authors

[![CI Status](http://img.shields.io/travis/Ales Kocur/TFTransparentNavigationBar.svg?style=flat)](https://travis-ci.org/Ales Kocur/TFTransparentNavigationBar)
Version
License
Platform

preview

Usage

In order to make transparent navigation bar you need set your navigation controller class to TFNavigationController. Then in your controllers implement TFTransparentNavigationBarProtocol which has only one method navigationControllerBarPushStyle() -> TFNavigationBarStyle. You have to return if your bar should be .Solid or .Transparent. The default style is .Solid therefore you can implement the protocol only for controllers you want to have a transparent bar.

Requirements

iOS 8 and later, Swift 2.0. No Apple-private API used.

Known bugs

  • Navigation bar keeps title during pop transition FIXED (but still problem with interactive transition)
  • First transition to controller with transparent navbar moves with fromView frame

Installation

TFTransparentNavigationBar is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "TFTransparentNavigationBar"

Author

Ales Kocur, [email protected]

License

TFTransparentNavigationBar is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "TFTransparentNavigationBar",
    "version": "0.2.0",
    "summary": "Custom transition between controllers in UINavigationController that makes navigation bar transparent on specified controllers.",
    "description": "Custom transition between controllers in UINavigationController that makes navigation bar transparent on specified controllers. It solves problem with making navigation bar translucent on one controller and non-translucent on another and vice versa.",
    "homepage": "https://github.com/thefuntasty/TFTransparentNavigationBar",
    "license": "MIT",
    "authors": {
        "Ales Kocur": "[email protected]"
    },
    "source": {
        "git": "https://github.com/thefuntasty/TFTransparentNavigationBar.git",
        "tag": "0.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "TFTransparentNavigationBar": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This