Skip to content
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

What if my child controller's tableviewcell has a left-scroll delete event conflict? #219

Open
cs571393 opened this issue May 27, 2019 · 4 comments

Comments

@cs571393
Copy link

What if my child controller's tableviewcell has a left-scroll delete event conflict?

@perfectionaq
Copy link

Any updates on this?

@farshadmb
Copy link
Contributor

@cs571393, you should handle this exception. I think you must implement a pageboy scroll view delegate and cancel the page view controller's pan gesture.

 // called before touchesBegan:withEvent: is called on the gesture recognizer for a new touch. return NO to prevent the gesture recognizer from seeing this touch
    @available(iOS 3.2, *)
    optional func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool

@perfectionaq
Copy link

Pageboy already has a scrollview but we do not have access to it. Also, we cannot override the scrollview delegate methods.

@sugitatestblue
Copy link

Or can't you access via reflection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants