When you move from position 2 to 0 the pageview animation breaks, only reach 1 and after that the 0 viewcontroller appears with no animation.
We know the problem happens when you call those two methods but we have not tested with all the cases, so, this pull request is just to let you know this fix the problem on 3 view controllers case.
When you move from position 2 to 0 the pageview animation breaks, only reach 1 and after that the 0 viewcontroller appears with no animation.
We know the problem happens when you call those two methods but we have not tested with all the cases, so, this pull request is just to let you know this fix the problem on 3 view controllers case.