Skip to content

hxwxww/HXNavigationController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HXNavigationController

HXNavigationController仿微信导航栏实现

image

简单介绍

  • 仿微信导航栏的实现,让你的导航栏过渡平滑,赏心悦目。
  • 使用简单,只需要在viewDidLoad中设置想要的效果即可:
hx_backgroundColor = .white
hx_tintColor = .red
hx_titleColor = .red
hx_barStyle = .default
  • 支持 appearance统一设置,在AppDelegate的application(didFinishLaunchingWithOptions:)中设置即可:
let navigationBar = UINavigationBar.appearance()
navigationBar.barTintColor = .red
navigationBar.tintColor = .white
navigationBar.barStyle = .black
navigationBar.titleTextAttributes = [
NSAttributedString.Key.foregroundColor: UIColor.white,
NSAttributedString.Key.font: UIFont.boldSystemFont(ofSize: 17)
]

更具体的用法请下载 Demo 查看。

About

仿微信导航栏平滑过渡

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages