Esqarrouth / EZSwipeController

:point_up_2: UIPageViewController like Snapchat/Tinder/iOS Main Pages
MIT License
842 stars 71 forks source link

Crash when swaping and calling moveToPage at the same time. #32

Closed DamonChen117 closed 7 years ago

DamonChen117 commented 8 years ago

*\ Assertion failure in -[UIPageViewController queuingScrollView:didEndManualScroll:toRevealView:direction:animated:didFinish:didComplete:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3512.60.12/UIPageViewController.m:2028

Esqarrouth commented 8 years ago

We could add a little control for that I think, why are you calling them at the same time?

DamonChen117 commented 8 years ago

Actually, It is the user doing it at the same time. There is a "Next" button on the UI, which calles "moveToPage". While the ui is moving one page to another page, click the "Next" button, app crashes. It's seems there is no event such as "moving started/ended", I cannot disable the button as a workaround.

JFKingsley commented 8 years ago

Is this still a current issue for you @DamonChen117? If so I'd be happy to take a closer look.

DamonChen117 commented 8 years ago

Not really, I simply use UIScrollview to implement swipe and page.

JFKingsley commented 7 years ago

Okay, sure. Gonna close this for now then.