helloyeah / hynavbarhidden Goto Github PK
View Code? Open in Web Editor NEW超简单好用的监听滚动,导航条渐隐的UI效果实现
超简单好用的监听滚动,导航条渐隐的UI效果实现
[self setKeyScrollView:tableView scrolOffsetY:280 options: HYHidenControlOptionLeft]中的scrolOffsetY只能设置具体数字,如果设置成self.view.frame.size.height/667 *280就崩溃,这是什么情况呢?
我看到demo中有一个用storyboard添加的可以,但是在自己新建一个并在storyboard创建left、title、right的时候就不能隐藏了,只是背景隐藏,后来改为代码创建,就又可以了,没找到原因,求解。。。
当在一个界面引用了此代码,当再push时,直接崩掉,Bug一堆。
在 UIViewController+NavBarHidden 的里面,定义的枚举,还有在控制器里面定义的枚举,这二个枚举是冲突的,为什么你项目中没有冲突???还有为什么二个地方都要写??扩展类里面写了,在继承类里面怎么还写呢???能否解释下?谢谢楼主!!
您好,我想用你这个接口写个效果,可是我只要导入你的类到我的项目 只要导航栏返回的时候就会报message sent to deallocated instance 错误,不清楚什么情况!
self.navigationItem.title 这样设置的导航标题 如何去隐藏?
刚刚下载最新的代码 引入后,加入如下代码造成野指针
self.automaticallyAdjustsScrollViewInsets = NO;
[self setKeyScrollView:self.collectionView scrolOffsetY:300 options: HYHidenControlOptionLeft | HYHidenControlOptionTitle | HYHidenControlOptionRight];
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.