New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shouldHandlePointingDeviceDraggedEvent drags the entire View in iOS8 #114
Comments
Is the graph hosting view in a scroll view? |
The CPTGraphHostingView is in a UIView in the UIViewController whitch is Pushed into a UINavigationController... |
It sounds like the superview is capturing the touch events and preventing the Core Plot hosting view from responding to them. Also, make sure |
I agree it sounds like the superview is capturing the touch events and instead of the hosting view. |
I solved the problem of the navigationcontroller swipe with |
I don't understand what you mean by moving only a single point. What does the |
Is your delegate method (the one in the question above) being called? If so, it should capture the event and prevent the plot space from scrolling. Did you change anything else in the app, or does the same version work on iOS 7 but not on iOS 8? |
No the With iOS 7 are working and 8 not... I've made only this change |
When I arrive to
the delegate (id) is 0x0 and it steps over... Is it relevant? |
Yes. Objects normally hold weak references to their delegates to prevent retain cycles. Core Plot does this, too, for that reason. It looks like your delegate is going away because nothing is holding a strong reference to it. |
What is |
Can I send you the entire class source code privately to verify and then we'll post the answer here? |
I can't figure out how to solve it... |
I solved... |
Hi have a CorePlot where I drag some points within the graph, after debugging the app in iOS8 when I drag the point in the graph the entire view in the navigationController is dragged and the feature of dragging is not working:
Here is the code:
The text was updated successfully, but these errors were encountered: