Giter Site home page Giter Site logo

Comments (6)

dzenbot avatar dzenbot commented on June 19, 2024

Meanwhile, I took your code and created a category class with it. Works like a charm! Thanx

from mdcparallaxview.

modocache avatar modocache commented on June 19, 2024

Sorry for the slow turnaround on this. A pull request would make it a lot easier to add, otherwise I will try and implement this myself (probably based on the code sample above) sometime soon.

It's difficult to add it myself since I can't be sure I understand the specific use case this sample code is trying to address--I have a good idea, but after implementing I will have to ping you in order to make sure my changes meet your needs.

from mdcparallaxview.

dzenbot avatar dzenbot commented on June 19, 2024

I just submitted a pull request.
Here is a screenshot of an app I'm building using your awesome ParalaxView, inserting a MKMapView as a backgroundView and a UITableView as a foregroundView. Everything works really sweet, but I still can't figure out why the mapView won't scroll nor zoom when the hitTest is effectively returning the backgroundView when touched...
screenshot

from mdcparallaxview.

modocache avatar modocache commented on June 19, 2024

The fact that the map view is nested within a scroll view might have something to do with the scrolling problems. I will keep this ticket open as a means of tracking the solution to the scroll problem.

from mdcparallaxview.

phongleq avatar phongleq commented on June 19, 2024

So the problem with that is the hitpoint is not being passed to the background view. So instead of return _backgroundView; . I changed it to return [_backgroundView hitTest:point withEvent:event]; and now it works.

from mdcparallaxview.

modocache avatar modocache commented on June 19, 2024

Brilliant, @phongleq! Thanks so much. I've updated the podspec to include the changes you suggested, please update if necessary.

from mdcparallaxview.

Related Issues (8)

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.