RTRootNavigationController
RTRootNavigationController copied to clipboard
Implicitly make every view controller has its own navigation bar
我的默认的初始状态是一个渐变的背景色使用的是一张图片 但是没有效果
将RTRootNavigationController放入到UITabBarController中,push时隐藏tabbar,只能到viewController里设置吗?可不可以在RTRootNavigationController加一个公共方法
`RTRootNavigationController`增加 `- (NSArray *)previewActionItems { return self.topViewController.previewActionItems; }` `RTContainerController`增加 `- (NSArray *)previewActionItems { return self.contentViewController.previewActionItems; }`
我在某个类重新定义的返回按钮,按钮触发返回[self.navigationController popViewControllerAnimated:YES]无法POP到上级界面,debug 发现navigationCtroller为nil debug rt_navigationController也是nil 是非必选的问题,目前还没定位到问题有人遇到过吗
解决:只针对导航条优化,如果需要做全屏侧滑返回怎么办? #17
``` NSLog(@"%@--%@",self.rt_navigationController,self.navigationController); -- self.navigationController.tabBarItem.badgeValue = nil; ``` 我是写了个JPNavigationController 继承你的导航控制器 但是使用self.navigationController获取不到tabBarItem,所以设置不能设置tabBarItem.badgeValue,使用self.rt_navigationController就行
UITabbarController遵从viewcontroller based status bar, 第一个vc的status bar和nav bar都是hidden,第二个vc的status bar和nav bar都是显示。来回切换就会看到navbar跳动
self.rt_navigationController.delegate = self self.navigationController?.delegate = self 上面两种方式都不行。