Pageboy icon indicating copy to clipboard operation
Pageboy copied to clipboard

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

Open cs571393 opened this issue 6 years ago • 4 comments

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

cs571393 avatar May 27 '19 07:05 cs571393

Any updates on this?

perfectionaq avatar Nov 28 '19 07:11 perfectionaq

@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

farshadmb avatar Nov 28 '19 08:11 farshadmb

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

perfectionaq avatar Dec 02 '19 09:12 perfectionaq

Or can't you access via reflection?

sugitatestblue avatar Jan 17 '22 10:01 sugitatestblue