Closed dslcoding closed 4 years ago
- (NSArray *)viewControllersForTabBar { MainVC *firstViewController = [[MainVC alloc] init]; UIViewController *firstNavigationController = [[RTRootNavigationController alloc] initWithRootViewController:firstViewController]; [firstViewController cyl_setHideNavigationBarSeparator:YES]; // [firstViewController cyl_setNavigationBarHidden:YES]; FindVC *secondViewController = [[FindVC alloc] init]; UIViewController *secondNavigationController = [[RTRootNavigationController alloc] initWithRootViewController:secondViewController]; }
我在FindVC的界面加一个button Push到另一个界面后,底部的tabbar未隐藏是怎么回事? 补充一下,我用折是CYLTabBarController这个第三方库
有两种集成方式,一种是导航器在 tabbar 外,一种是在 tabbar 下的 viewControllers,具体可见 Demo 工程 https://github.com/rickytan/RTRootNavigationController/blob/master/Example/RTRootNavigationController/RTAppDelegate.m#L46
我在FindVC的界面加一个button Push到另一个界面后,底部的tabbar未隐藏是怎么回事? 补充一下,我用折是CYLTabBarController这个第三方库