Comments (8)
这个需要自己在使用的view进行下手势判断了。你使用的是系统tableView 滑动吗?
from kknavigationcontroller.
是得,UITableView使用自带的向左滑动删除功能,但是那个手势被导航拦截了?这个有啥办法解决吗
from kknavigationcontroller.
这个需要在tableview所在的那个页面中,设置一下 手势的 传递。
在这个方法进行调节。
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
{
return YES;
}
gestureRecognizer对象里面有 响应的view。 你看下UIGestureRecognizer的相关定义。
from kknavigationcontroller.
我去看看,谢谢
from kknavigationcontroller.
不知道 解决没有, 可以看看这个帖子https://www.v2ex.com/t/164804#reply3
from kknavigationcontroller.
谢谢已经解决了,是用和你发的链接一样的方法
from kknavigationcontroller.
解决就好~
from kknavigationcontroller.
如果使用了这个return NO,当前界面虽然支持了删除滑动,但是同时也失去了KKNav的功能,不觉得不应该妥协吗?
from kknavigationcontroller.
Related Issues (6)
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 kknavigationcontroller.