Giter Club home page Giter Club logo

Comments (5)

ranudhurandar avatar ranudhurandar commented on May 29, 2024

Would it be possible for me to swipe to previous Viewcontroller while swiping the card from left -> right. As I have three VC in sliding manner and the VerticalCardSwiper is implemented in the middle VC , after this implementation i am unable to swipe to previous VC. Help

from verticalcardswiper.

JoniVR avatar JoniVR commented on May 29, 2024

I don't really understand what you're trying to say.. The VerticalCardSwiper is essentially a UIView with a UICollectionView inside it.
So it behaves in the same way. All the other stuff depends on your implementation.
I can't really help you with that.

from verticalcardswiper.

ranudhurandar avatar ranudhurandar commented on May 29, 2024

from verticalcardswiper.

JoniVR avatar JoniVR commented on May 29, 2024

I'm assuming that the paged viewcontrollers are using a gesturerecognizer too?
They're probably interfering with each other, you can see how VerticalCardSwiper handles this here.

My guess is that you'll need to do the same thing with your code. Make sure you set cardSwiper.isSideSwipingEnabled = false (if you don't want card swiping, but I wouldn't enable it if you have sliding viewcontrollers already) and then implement the shouldRecognizeSimultaneouslyWith delegate method from UIGestureRecognizerDelegate.

Again, I don't think this has anything to do with VerticalCardSwiper, it's just how UIGestureRecognizer works.
See: https://stackoverflow.com/questions/41918256/handling-multiple-gesturerecognizers

from verticalcardswiper.

ranudhurandar avatar ranudhurandar commented on May 29, 2024

from verticalcardswiper.

Related Issues (20)

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.