RTRootNavigationController
RTRootNavigationController copied to clipboard
setHidesBottomBarWhenPushed
trafficstars
将RTRootNavigationController放入到UITabBarController中,push时隐藏tabbar,只能到viewController里设置吗?可不可以在RTRootNavigationController加一个公共方法
demo 程序中有两种 VC 结构,一种是永远有 tabBar,一种是只有根上有 tabBar,您改下 if 条件试试吧
能不能侧滑怎么设定的,我按这种方式做到,子页面为什么不能侧滑返回
tabController.viewControllers = @[[[RTContainerNavigationController alloc] initWithRootViewController:[story instantiateViewControllerWithIdentifier:@"Root"]],
[[RTContainerNavigationController alloc] initWithRootViewController:[story instantiateViewControllerWithIdentifier:@"Remove"]],
[[RTContainerNavigationController alloc] initWithRootViewController:[story instantiateViewControllerWithIdentifier:@"Scroll"]],
[[RTContainerNavigationController alloc] initWithRootViewController:[story instantiateViewControllerWithIdentifier:@"Table"]],
[[RTContainerNavigationController alloc] initWithRootViewController:[story instantiateViewControllerWithIdentifier:@"Status"]]];
self.window.rootViewController = [[RTRootNavigationController alloc] initWithRootViewControllerNoWrapping:tabController];
- (BOOL)rt_hasSetInteractivePop
{
return !!objc_getAssociatedObject(self, @selector(rt_disableInteractivePop));
}
这里估计和某个第三方库冲突了,总是返回N0,导致子页面不能侧滑返回
我Project下有个第三方的UINavigationController的分类,但未在任何地方引用,分类里的代码却会自动执行,加入这个分类就可以侧滑返回,删除就不能滑动返回了
第三方库链接贴一下