/EFNavigationBar

An ordinary custom navigation bar.

Primary LanguageSwiftMIT LicenseMIT

EFNavigationBar

CI Status Version License Platform

An ordinary custom navigation bar.

中文介绍

Overview

Gradation Image Weibo Q Zone
Zhihu QQ Alipay Transparent gradient

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • iOS 8+
  • Xcode 8+

Installation

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

pod 'EFNavigationBar'

Use

For more details, see the Example project:

navBarBarTintColor = .white
navBarBackgroundAlpha = alpha
navBarTintColor = UIColor(red: 0, green: 0.478431, blue: 1, alpha: 1.0)
navBarTitleColor = .black
statusBarStyle = .default
navBarShadowImageHidden = true

UIColor.defaultNavBarBarTintColor = UIColor.init(red: 0 / 255.0, green: 175 / 255.0, blue: 240 / 255.0, alpha: 1)
UIColor.defaultNavBarTintColor = .white
UIColor.defaultNavBarTitleColor = .white
UIColor.defaultStatusBarStyle = .lightContent
UIColor.defaultShadowImageHidden = true

Other

Maintainer

EyreFree, eyrefree@eyrefree.org

License

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