Open tilowestermann opened 10 years ago
Ohoh, never had a process with more than 5 steps So I always neglected that use case. Will take a look into this...
I guess that five will suffice in cases where you are presenting an intro to the user. In my particular one, I'd like to use RMStepsController for building a questionnaire, which could have more than five.
I think I will pick up your suggestion. When you tap the "..." you get a UIActionSheet Menu where you can select a certain step. The same "..." will also appear on the left, when you are in step 20.
This way you do not need to go back five times to get to a certain step. Instead you can access every step nearly instantaneously.
Sounds great (although I would disable manually selecting a certain step in my particular case ;))! Thanks for your effort!
I started a new branch called UnlimitedSteps
to implement this
Please note that this issue is only present for (current) iPhones, i.e. not iPads with a larger screen size. If you intend to hardcode the "more than five", there should be a conditional setting another value for iPads.
You are right. Thanks!
Just checked the new branch and it looks promising! The UIActionSheet is the only thing missing, right?
The UIActionSheet is missing and the current implementation has some animation bugs. In addition, it is fixed to 5 steps (even on the iPad). Unfortunately, I do not have that much spare time as iI hoped to have (due to university tasks). I'm sorry for that!
If you wish you can continue where I left of. In that case you could make a pull request and I could merge the request. Of course, you will be mentioned in the credits section :).
I didn't touch the animation bugs, but pushed a first version of the UIActionSheet. There might a be better solution, but this one works without having read every single line of code of RMStepsController.
@CooperRS is there any update on this issue? Do you intend to push it to the master branch?
Unfortunately, no news on this issue, yet :/
Currently, I'm working on my App Store apps. I still plan to solve this issue, but no promises when ;)
Adding more than five view controllers leads to the result shown in the screenshot (in portrait mode). One solution would be to indicate further steps by "..." instead of the fifth step (the same for previous steps, if the current one is >5).