When I navigate through UIPageViewController faster than its transition animation I am getting ‘Unbalanced calls to begin/end appearance transitions for <MyDataViewController>‘ and one of the two views in landscape isn’t shown until I try to turn the page.
Anybody has an idea to solve this bug?
Solved following these steps:
1- Declare a flag to indicate that the animation has finished or not:
2- Set this flag to true in viewDidLoad:
3- Disable tapGesture for the pageViewController and assign ‘self’ to panGestureRecognizer delegate:
4- Allow/Disallow panGestureRecognizer through the following gesture recognizer delegate method:
5- Add the following pageViewController delegate method: