Skip to content

ZhongshanHuang/PoNavigationBar

Repository files navigation

PoNavigationBar

单独控制每个UIViewController navigationBar的样式

Environment

xcode: 11.4
swift: 5.0

Usage

1、在didFinishLaunchingWithOptions时执行初始化PoNavigationBarConfigInit()
2、让你的UINavigationController遵循PoNavigationBarConfigurable协议即可
PoNavigationBarConfigurable协议有个defaultNavigationBarConfig属性,可以配置navigationBar全局默认的样式
UIViewController,添加了navigationBarConfig属性,可以单独配置每个UIViewController下navigationBar的样式,不会干扰别的UIViewController

About

NavigatiionBar单独控制

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages