Giter Site home page Giter Site logo

Comments (2)

timglorioso avatar timglorioso commented on September 13, 2024 2

@victorBaro I think this issue actually has merit... it seems the UIImageView snapshots don't get removed from the CardStackController's view upon dismissal. You can actually see this in @TGnA's view hierarchy screenshots (there's an extra snapshot view in the bottom one).

Digging into the code shows no sign of removing these snapshots. So I guess it's just a matter of figuring out the best place to do it, i.e. viewWillDisappear, dismissCard...

Edit: I'm more than happy to get a PR going with some guidance 🙂

from cardstackcontroller.

victorBaro avatar victorBaro commented on September 13, 2024

Hello @TGnA
I am not sure what you are trying to achieve. This controller will present modally a ViewController. You don't need to use iOS Transitions API, the controller will automatically do it for you.

Can I see some code? It is tricky to answer your questions just by looking at some screenshots.
It looks to me that you are misusing the transitions API and stacking one screenshot on top of another (which you shouldn't). Try to delete all the snapshot related code and just present the viewController using the CardStackController.
I'd suggest you download the example project and take a look.

I am closing the issue as it is not related to the library.

Let me know if you solve it!

from cardstackcontroller.

Related Issues (7)

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.