banchichen / tzscrollviewpopgesture Goto Github PK
View Code? Open in Web Editor NEW一句代码,让UIScrollView的滑动和系统侧滑手势并存,例如:在查看地图界面同时支持地图的滑动和侧滑返回。注:和FDFullscreenPopGesture库不冲突
License: MIT License
一句代码,让UIScrollView的滑动和系统侧滑手势并存,例如:在查看地图界面同时支持地图的滑动和侧滑返回。注:和FDFullscreenPopGesture库不冲突
License: MIT License
从一个自定义导航栏进入系统导航栏返回时当前页的导航栏有时会隐藏
与QMUI组件中的 UINavigationController+QMUI 有冲突,会影响侧滑返回拦截,
该如何解决?
某些业务逻辑情况下使用FDFullscreenPopGesture的fd_interactivePopDisabled = YES禁掉了页面的侧滑拉回,但是添加了大佬的TZScrollViewPopGesture之后,这些禁掉的页面又能相应边缘侧滑,这个小细节盼望大佬能修复下。
如果当前界面和上个界面的导航栏颜色不同, 当手指拖住一段距离后又取消拖动而停留在当前界面时, 当前界面的导航栏颜色会变成上个界面的导航栏颜色.
无论如何设置 都无法滑动返回
if ([[self valueForKey:@"_isTransitioning"] boolValue]) {
return NO;
}
这个代码 改为
if ([self.navigationController.transitionCoordinator isAnimated] ) {
return NO;
}
似乎可以结决
您好,我在项目里引用了您的这个库。但是使用后发现,调用系统相机拍照的时候,底部按钮点击无效。将库从项目中移除后,拍照就是没有问题的,或者将+load里面的方法交换注释掉,也是可以正常使用拍照,侧滑返回也支持。不知您是否知道是什么问题呢?
如果我想某个页面禁止侧滑返回怎么办?
因为是在UINavigationController的load中做了swizzling,所有包含UINavigationController的地方都受到了影响,该方法导致UIImagePickerController的代理协议无法执行。去除该库后正常,望修复,谢谢。
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.