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

Layout is broken after dismiss view controller - swift #36

Open
TequilarTomsk opened this issue Jun 18, 2015 · 4 comments
Open

Layout is broken after dismiss view controller - swift #36

TequilarTomsk opened this issue Jun 18, 2015 · 4 comments

Comments

@TequilarTomsk
Copy link

I'm coding on swift and using your storyboard to create an example but when present a modal view and dismiss it, the layout of view controllers is broken.
Please help me solve this problem.
Thank you

@airlacodes
Copy link

Same issue here, but in Objective C. Did you manage to find a fix?

@romain64
Copy link

Same problem when I come back to a table view controller from a detail view controller the layout is broken. Any ideas?

@romain64
Copy link

romain64 commented Aug 4, 2015

Fixed.
It works if you use the files on the Github repo instead of cocopoads one. In the pod the [self addChildViewController:ctr] improvment doesn't seem to be done.

@rogcui
Copy link

rogcui commented Sep 30, 2015

Keep a reference to the SLPagingViewController and use that to present the modal. Do not use a subview to present a modal, it will cause it to be malformed.

i.e Manager.shared.getMainVC().presentViewController(yourModal)

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

4 participants