Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

push to other view controllers dose not work #7

Open
ShimaDarya opened this issue Jul 21, 2018 · 1 comment
Open

push to other view controllers dose not work #7

ShimaDarya opened this issue Jul 21, 2018 · 1 comment

Comments

@ShimaDarya
Copy link

No description provided.

@azamouchi
Copy link

Yep , that's because only the view of the child ViewControllers is being added to the ScrollingStack,

self.scrollView!.addSubview(item.controller.view)

the ViewControllers need to bed added as childViewControllers in ScrollingStackController and then you we can use the following to push other view controllers form any childViewController

self.parent?.navigationController?.pushViewController(vc, animated: true)

Will try to make a PR to fix this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants