crash: failed to determine navigation direction for scroll

Device: iPad Pro,
S/W version: 13

I have pageViewController with variable number of pages.
Each page contains a collection view.

Whenever a user swipes left and right and vice versa, and at the same time, swipes up, application is sometimes crashed.
with the following information:

NSinternalInconsistencyException
Failed to determine navigation direction for scroll.

Would you please let me know how to resolve this issue?
That is a problem of "conflict" between the 2 gestures.

have a look here on solutions (in your case, not a TableView but CollectionView, but very similar):
https://stackoverflow.com/questions/31977977/ios-uipageviewcontroller-failed-to-determine-navigation-direction

Apple told me that the UIScrollViewin the UIPageViewController and the one in the UITableViewController were conflicting, causing this bug.
All I did was put a UIPanGestureRecognizer on the whole view, and whenever the user scrolls up or down, the UIScrollView in the UIPageViewController is disabled, allowing the user to scroll through the UITableView without conflicts or crashing. When the user stop scrolling up or down, the UIScrollView of the UIPageViewController is re-enabled.


Hello, have you solved it? If so, through what solution

crash: failed to determine navigation direction for scroll
 
 
Q