Layout is broken after dismiss view controller - swift
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
Same issue here, but in Objective C. Did you manage to find a fix?
Same problem when I come back to a table view controller from a detail view controller the layout is broken. Any ideas?
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.
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)