RMStepsController icon indicating copy to clipboard operation
RMStepsController copied to clipboard

How to handle swipes?

Open ADevelopStudio opened this issue 9 years ago • 3 comments

Hi, I can't figure out how to implement swipe gestures to switch between steps. is it possible?

ADevelopStudio avatar May 21 '15 09:05 ADevelopStudio

Well, nearly everything is possible. But this one will need some more work I think :/

CooperRS avatar May 24 '15 19:05 CooperRS

I tried put together pagecontroller and this step controller but it looks terrible. I had to use notifications to send step controller to change step to another after page changed. It's terrible.... I so would love to implement this gorgeous controller to my app :(

ADevelopStudio avatar Jun 01 '15 03:06 ADevelopStudio

You may be able to subclass RMStepsController and add a swipe gesture recognizer to the view of your subclass. From there your should be able to call showNextStep and showPreviousStep.

Unfortunately, I do not have the time to implement it myself. But this way should work :)

CooperRS avatar Jun 01 '15 18:06 CooperRS