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
ViewControllers don't maintain state on modal dismissal #10
Comments
interesting, do you mind giving me an example? screenshots might help, sorry for the late response |
I have the same problem, I embed the swipe controller in a tab bar controller, and when I change to another tab and then change back, the swipe controller reset back to first view controller. Hope you can help me, thx. |
+1 I had the same problem. |
It's funny that this is such an obvious thing but I've never needed it. Hmm, so I will probably work on a full solution some time later, but for now I would recommend storing what page you left off on, and then calling the UIPageViewController delegate function for turning pages Thanks for letting me know, I'll keep this open until I build it out |
I think the reason is that you put setup code in viewDidAppear, I move setup codes into viewDidLoad, and every thing works fine. |
weird, I hardly ever put code in viewDidAppear without good reason. I'll do some investigation, but thanks for helping out |
Hi @cwRichardKim this was closed but was it fixed? |
Apologies, forgot to push but yea this should be fixed at master |
When I dismiss a modal within one of my view controllers, the swipe controller somehow resets back to the first view controller in the array. I've tried to set it back to the right view controller in the completion block of the modal dismissal, but that didn't work. Any ideas?
The text was updated successfully, but these errors were encountered: