ariok / BWWalkthrough

BWWalkthrough is a simple library that helps you build custom walkthroughs for your iOS App
MIT License
2.76k stars 246 forks source link

How to make auto redirect(slide) user to previous page inside custompageviewcontroller ? #128

Closed mohamadakmalshukri closed 4 years ago

mohamadakmalshukri commented 5 years ago

I have two custom page of viewcontroller like "CustomPageViewController" in this project.

Lets say, CustomPageViewControllerA and CustomPageViewControllerB. While user slide forward to CustomPageViewControllerB but they not finish fill the form inside CustomPageViewControllerA yet then i want make it will auto redirect them to previous page (CustomPageViewControllerA) ?

ariok commented 4 years ago

You could implement the logic on your code to check on walkthroughPageDidChange if your requirements for that page are fulfilled, or you could block the scrollview until the user filled the form ( scrollview is a public property of BWWalkthroughViewController).