Code Monkey home page Code Monkey logo

Comments (8)

Coneboy-k avatar Coneboy-k commented on July 28, 2024

这个需要自己在使用的view进行下手势判断了。你使用的是系统tableView 滑动吗?

from kknavigationcontroller.

sd1435728 avatar sd1435728 commented on July 28, 2024

是得,UITableView使用自带的向左滑动删除功能,但是那个手势被导航拦截了?这个有啥办法解决吗

from kknavigationcontroller.

Coneboy-k avatar Coneboy-k commented on July 28, 2024

这个需要在tableview所在的那个页面中,设置一下 手势的 传递。

在这个方法进行调节。

  • (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
    {
    return YES;
    }

gestureRecognizer对象里面有 响应的view。 你看下UIGestureRecognizer的相关定义。

from kknavigationcontroller.

sd1435728 avatar sd1435728 commented on July 28, 2024

我去看看,谢谢

from kknavigationcontroller.

Coneboy-k avatar Coneboy-k commented on July 28, 2024

不知道 解决没有, 可以看看这个帖子https://www.v2ex.com/t/164804#reply3

from kknavigationcontroller.

sd1435728 avatar sd1435728 commented on July 28, 2024

谢谢已经解决了,是用和你发的链接一样的方法

from kknavigationcontroller.

Coneboy-k avatar Coneboy-k commented on July 28, 2024

解决就好~

from kknavigationcontroller.

JxbSir avatar JxbSir commented on July 28, 2024

如果使用了这个return NO,当前界面虽然支持了删除滑动,但是同时也失去了KKNav的功能,不觉得不应该妥协吗?

from kknavigationcontroller.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.