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

[[RTContainerNavigationController alloc] initWithRootViewController:vc2] #14

Closed
IDOKN opened this issue Jul 19, 2016 · 1 comment
Closed

Comments

@IDOKN
Copy link

IDOKN commented Jul 19, 2016

tabController.viewControllers = @[[[RTContainerNavigationController alloc] initWithRootViewController:vc1],
[[RTContainerNavigationController alloc] initWithRootViewController:vc2],
[[RTContainerNavigationController alloc] initWithRootViewController:vc3],
[[RTContainerNavigationController alloc] initWithRootViewController:vc4]];
self.window.rootViewController = [[RTRootNavigationController alloc] initWithRootViewControllerNoWrapping:tabController];

  1. vc1,vc2,vc3, vc4 无法使用到UIViewController (RTRootNavigationController)中的rt_navigationBarClass
  2. UIViewController中无法获得UITabBarController
@rickytan
Copy link
Owner

rickytan commented Jul 19, 2016

vc1 2 3 4 应该都可以获取 tab 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

2 participants