Comments (6)
You can hide navigation bar in viewWillAppear(_ animated: Bool)
and show in viewWillDisappear(_ animated: Bool)
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
navigationController?.setNavigationBarHidden(true, animated: animated)
}
override func viewWillDisappear(_ animated: Bool) {
super.viewWillDisappear(animated)
navigationController?.setNavigationBarHidden(false, animated: animated)
}
from wxnavigationbar.
Please describe your problem more clearly.
You mean
- The button under the transparent navigation can not be clicked ?
- The button inside the wx_navigation bar can note be clicked ?
- The navigation item can not be clicked when the navigation bar is transparent ?
The more detail your describes, the easier it is to solve.
from wxnavigationbar.
The button under the transparent navigation can not be clicked
from wxnavigationbar.
The button under the transparent navigation can not be clicked
You can add button to wx_navigationbar
to enable touch.
from wxnavigationbar.
I just give an example, in fact, I need the view to be able to receive events
from wxnavigationbar.
I just give an example, in fact, I need the view to be able to receive events
请问这个问题解决了吗?遇到同样的问题,导航栏隐藏或透明时,在导航栏位置的view无法相应点击事件
from wxnavigationbar.
Related Issues (15)
- Support version HOT 4
- pod 2.3.6 失败 HOT 3
- navBar 上移 statusHeight
- override loadView trigger exception
- 导航栏貌似无法隐藏?
- 在使用本库时候,同时使用ZLPhotoBrowser导航栏白色了 HOT 1
- OC 不起作用
- iOS 13.4 下 好像没有效果 HOT 3
- 对UIViewController的扩展属性希望能通过点语法修改,而不只是重写属性 HOT 2
- 有没有设置状态栏前景色的方法或者属性呢 HOT 3
- 隐藏状态栏之后,导航栏上移 HOT 3
- Platform may be .v9 HOT 1
- 自定义burttonItem加载网络图片时,点击进入其它页面时尺寸就会有问题 HOT 1
- 可否增加一个黑名单,黑名单里的控制器不会添加WXNavigationBar HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wxnavigationbar.