StefanLage / SLPagingView

Navigation bar system allowing to do a Tinder like or Twitter like
MIT License
1.01k stars 85 forks source link

Layout is broken after dismiss view controller - swift #36

Open TequilarTomsk opened 9 years ago

TequilarTomsk commented 9 years ago

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 commented 9 years ago

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

romain64 commented 9 years ago

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

romain64 commented 9 years ago

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 commented 8 years ago

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)