ICViewPager
ICViewPager copied to clipboard
Switching quickly between tabs causes an NSInternalInconsistencyException
I have an application with three tabs. If I mash two of the tab's buttons and go back and forth quickly, I get some unexpected behavior: The views begin to jump around weirdly, and then the app crashes relatively soon after.
Just wondering, is this an issue that is known? Any ideas of how to resolve this?
For further information, the error was as follows: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Duplicate states in queue'
Is there any dispatch_after
or similar involved in switching tabs? I had a similar issue with triggering too many similar view transitions in a dispatch_after
Nope. Behind the scenes, it uses UIPageViewController
.
I don't know this project at all, just arrived here via Google. All I'm saying is it's worth going over the calls to UIPageViewController
and making sure none of them are wrapped in any kind of delay block :)
Thanks for the advice! :) :+1: I will definitely consider this with the new version! :+1:
hi @iltercengiz! Hope you fix it soon :+1:
any fixes? i have similar problem