Comments (9)
有时间会把它改造成自定义的导航条,导航条共用一直是比较麻烦的事.
from hynavbarhidden.
这个其实没你想的那么复杂,既然你在进入控制器的时候设置了空的图片,为什么不在他消失的时候再设置回来呢?你这只能当做一个Demo,不能用到项目中。
from hynavbarhidden.
你说的是我以前 的方案,但会影响手势侧滑.
from hynavbarhidden.
在手势侧滑的时候,导航条的样式和侧滑效果会有问题
from hynavbarhidden.
你可以自己试试...
from hynavbarhidden.
你把这写,消失和显现的方法写到willapper和disapper中是可以的,但是别用全屏侧滑是不会有问题的,侧滑也是显示和消失。怎么会有问题呢?我项目中就是这样做的。
from hynavbarhidden.
两个控制器共用一个导航条,当两个控制器导航条样式不一样的时候,侧滑返回,滑在中间的时候,怎么显示,显示效果是怎么样..
from hynavbarhidden.
当他滑到中间的时候,就显示出导航。
from hynavbarhidden.
我第一次用的就是这个方案,简书链接.我一直没有更好的方案,在不影响系统侧滑下实现效果.现在的demo是后面改成这样的.简化了接口.去掉了willapper和disapper两个方法.如果禁用手势侧滑的话,那就没什么问题,但我不想那样做.这个demo仅供学习吧.用到项目中,还是有问题.http://www.jianshu.com/p/ac237ebcd4fb
from hynavbarhidden.
Related Issues (10)
- 手势侧滑POP的时候,有个小问题 HOT 6
- message sent to deallocated instance HOT 3
- 继承的枚举冲突 HOT 2
- 在4s 和5 在切换到collectionView的时候会蹦在运行时? HOT 3
- self.navigationItem.title HOT 3
- 真机运行会崩溃 HOT 1
- storyboard添加有问题 HOT 1
- 引入之后造成野指针
- [self setKeyScrollView:tableView scrolOffsetY:280 options: HYHidenControlOptionLeft]中的scrolOffsetY只能设置具体数字
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 hynavbarhidden.