I need to make a wizard with multiple interactive pages that gathers data from the user. Making so many pages is a tough work by making every single window. Is there any simple class or command to manage it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s a couple approaches you could take to do this. First off you could use a
UINavigationControllerwhich allows you to easily move between multiple view controllers. This is probably the best option if you are okay with using multiple view controllers.To push to the next controller in a navigation stack you can use:
UIScrollViewis also an option but would require careful manual memory management when items moved on and off screen, however this could be done all in one class.Then your final and most flexible option would be to just make subviews of your main view and you could make your own custom animations for how every item moves around on screen.