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

如果创建3个子vc,是否应该提供一个在某个条件下可以允许切换到某一个页面 某个条件 不允许切换呢 #29

Open
Engandend opened this issue Mar 16, 2017 · 1 comment

Comments

@Engandend
Copy link

使用场景:
创建了3个子vc, 如果登录,允许切换到第二个,如果没有登录,不允许切换

例如
tabbar的
-(BOOL)tabBarController:(UITabBarController *)tabBarController shouldSelectViewController:(UIViewController *)viewController
的使用

@agdsdl
Copy link
Owner

agdsdl commented Mar 19, 2017

目前没有这个功能。
可以换一种方式,比如没有登录显示空白页面,或者登录提示

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

2 participants