You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(void)pageViewController:(UIPageViewController )pageViewController didFinishAnimating:(BOOL)finished previousViewControllers:(NSArray *)previousViewControllers transitionCompleted:(BOOL)completed
{
/ Add this to prevent this error*/
if (!completed) {
return;
}
Activity
XuYanci commentedon Feb 5, 2016
I found that perhaps the setActiveContentIndex function cause the issues.
XuYanci commentedon Jun 5, 2016
(void)pageViewController:(UIPageViewController )pageViewController didFinishAnimating:(BOOL)finished previousViewControllers:(NSArray *)previousViewControllers transitionCompleted:(BOOL)completed
{
/ Add this to prevent this error*/
if (!completed) {
return;
}
UIViewController *viewController = self.pageViewController.viewControllers[0];
// Select tab
NSUInteger index = [self indexForViewController:viewController];
[self selectTabAtIndex:index didSwipe:YES];
}