mamaral / Onboard

An iOS framework to easily create a beautiful and engaging onboarding experience with only a few lines of code.
MIT License
6.46k stars 765 forks source link

This is great! Any chance we can disable swiping? #14

Closed vicc closed 10 years ago

vicc commented 10 years ago

This is great. You've done a nice job! :+1: Any chance we could customize it so that we can disable the swiping feature. I would love to be able to programmatically call the next view (Perfect for scenarios where you want a user to perform a certain task, to proceed move to the next step).

mamaral commented 10 years ago

Thank you! I'll see what I can do over the weekend!

mamaral commented 10 years ago

I will be updating the README shortly, but in the meantime if you want to disable swiping, simply set swipingEnabled to NO on the OnboardingViewController, and if you'd like pressing the buttons to automatically move users to the next page, set movesToNextViewController to YES on each OnboardingContentViewController instance.

Let me know if you have further issues!

vicc commented 10 years ago

Awesome I'll check it out later today! Thanks! :smiley: