close
The Wayback Machine - https://web.archive.org/web/20201223015750/https://github.com/roodkcab/HHNavigationController-Demo
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

HHNavigationController

Image

Intro

A customize navigation controller to hide navigation bar when push and pop viewcontroller. When using UINavigationController to push or pop a controller which navBar is hidden, the effect of switching the bar is so poor. To improve this effect, I add a fake navBar to the controller which navBar is not hidden.

中文介绍

iOS的navigationBar在透明和非透明切换时效果非常丑陋,原因在于实现切换viewController时 两个viewController使用了同一个navigationBar,只能同时透明或者非透明。想要解决这个问题 其实也很简单,就是在切换的时候判断是否需要顶部透明,对于非透明的viewController,在顶部 添加一个假navigationBar就可以了

About

HHNavigationController demo

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.