diff --git a/Pods/Onboard/Source/OnboardingViewController.h b/Pods/Onboard/Source/OnboardingViewController.h index 0d2c3851d3a1bc5cb03f8e0666855093ec578965..cf2f0a369f0a51178e606262ac88b564763cf302 100644 --- a/Pods/Onboard/Source/OnboardingViewController.h +++ b/Pods/Onboard/Source/OnboardingViewController.h @@ -139,6 +139,8 @@ * @brief Method to tell the onboarding view controller to automatically move to the next page. */ - (void)moveNextPage; + +- (void)gotoLastPage; - (void)fadeBackground:(UIImage *) newImage; diff --git a/Pods/Onboard/Source/OnboardingViewController.m b/Pods/Onboard/Source/OnboardingViewController.m index 36eb89655fc543ec61078f1e7dba2916d7a6fc0c..270bf3a908ba52d86022485b3d24ad5ffdb017ea 100644 --- a/Pods/Onboard/Source/OnboardingViewController.m +++ b/Pods/Onboard/Source/OnboardingViewController.m @@ -318,6 +318,11 @@ static NSString * const kSkipButtonText = @"Skip"; [self.pageControl setCurrentPage:indexOfNextPage]; } } + +- (void)gotoLastPage { + [self.pageVC setViewControllers:@[self.viewControllers[self.viewControllers.count-1]] direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:nil]; + [self.pageControl setCurrentPage:self.viewControllers.count-1]; +} #pragma mark - Onboarding content view controller delegate diff --git a/enzevalos_iphone.xcworkspace/xcuserdata/jakobsbode.xcuserdatad/UserInterfaceState.xcuserstate b/enzevalos_iphone.xcworkspace/xcuserdata/jakobsbode.xcuserdatad/UserInterfaceState.xcuserstate index 00005e0e2023bec6264ca47b2537946e8cc59bf1..c9ee933c5a60ca737b540b33c792e4239cfb9b9c 100644 Binary files a/enzevalos_iphone.xcworkspace/xcuserdata/jakobsbode.xcuserdatad/UserInterfaceState.xcuserstate and b/enzevalos_iphone.xcworkspace/xcuserdata/jakobsbode.xcuserdatad/UserInterfaceState.xcuserstate differ