一个常见app的框架, 实现一些常用功能
- TabBarController + NavigationBarController + ViewController
- 除了栈底ViewController外, 隐藏TabBar
- 解决NavigationBar自定义返回btn, 造成的bug
- 添加一个定制TabBar中间的按钮
效果图
- 有中间btn效果

- 无中间按钮效果
- 只需要在类
MainTabBarController
中注释掉一下两行代码即可移除中间btn
- 只需要在类
tabBar.customDelegate = self; [self setValue:tabBar forKey:@"tabBar"];```

- 额, 很久以前写的demo, 翻了出来, 很简单的demo, 用得上的给个star
- github
网友评论