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

删除指定控制器 #32

Open
chaopengCoder opened this issue Mar 9, 2022 · 0 comments
Open

删除指定控制器 #32

chaopengCoder opened this issue Mar 9, 2022 · 0 comments

Comments

@chaopengCoder
Copy link

删除栈中指定的控制器 使用 navi.viewControllers = [Controller] 不行的,
因为源码中 viewControllers 的set方法重写了, 但是重写的方法中没有任何代码
解决: 需要navi.setViewControllers([Controller])

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

1 participant