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

how can I add separate view controller for each progress #14

Closed
prakhila opened this issue Nov 7, 2017 · 2 comments
Closed

how can I add separate view controller for each progress #14

prakhila opened this issue Nov 7, 2017 · 2 comments

Comments

@prakhila
Copy link

prakhila commented Nov 7, 2017

No description provided.

@abdulla-allaith
Copy link

This library does not cover the "page switching" part of the progress.
It focuses on delivering a progress bar solution, which it excels at! 👏
Possible solutions to your issue:

A) Use a UIContainerView that hosts a view controller. Change the displayed controller on didSelectItemAtIndex delegate function (or programmatically).

B) Use a UIScrollView, append multiple custom views to it. Change the contentOffset on didSelectItemAtIndex delegate function (or programmatically). If you have a button to move to next step, you can set the scrollview's isScrollEnabled to false.

Personally, I am using solution B which provides me with a nice "next page" animation on switching to next steps. Feel free to ask me for further clarification, but since this is out of the project's scope, I think @amratab can close it.

@amratab
Copy link
Owner

amratab commented Feb 11, 2020

Thanks @abdulla-allaith for resolving this.

@amratab amratab closed this as completed Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants