Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button "next" in example not showing #8

Open
aricarmo opened this issue Aug 31, 2016 · 6 comments
Open

Button "next" in example not showing #8

aricarmo opened this issue Aug 31, 2016 · 6 comments
Labels

Comments

@aricarmo
Copy link

HI! The Button "next" in example not showing

model.didShow = { page in
if page == 4 {
UIView.animateWithDuration(0.3) {
self.nextButton.alpha = 1
}
}
}

@mozharovsky
Copy link
Contributor

Thank you @arilsonkarmo, I'll look at this example!

@aricarmo
Copy link
Author

Thanks! I'm trying to implement in my project but without final button i can't

@Sun3
Copy link

Sun3 commented Sep 2, 2016

In the storyboard, in the view drag the Next Button below the Onboarding View in the Tree View object oder. Currently the button is located under the Onboarding View. That should do the trick.

@aricarmo
Copy link
Author

aricarmo commented Sep 7, 2016

Can you send me a screenshot of your project?

@amagain
Copy link

amagain commented Nov 27, 2016

Same issue over here too! I don't find the skip button at the end of fifth onboarding view!

@ammadakhtar
Copy link

ammadakhtar commented May 15, 2017

you dont need code in viewdidload and the way its shown in example @arilsonkarmo & @amagain . The pod gives this function if u hit cmd+click on the delegate . Use this and button would appear

func onboardingView(_ onboardingView: OnboardingView, didSelectPage page: Int) {
        if page == 4 {
            UIView.animate(withDuration: 0.3) {
                self.nextButton.alpha = 1
            }
        } else {
            UIView.animate(withDuration: 0.3) {
                self.nextButton.alpha = 0
            }
        }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants