UINavigationController和UITabbarController内部结构解析
1. UINavigationBar 和 UINavigationItem
- UINavigationBar是整个导航栏,是View
- UINavigationItem是导航栏的数据,是Model
- UIBarButtonItem是导航栏左右单个按钮的model
2. UITabBar
- UITabBar 是整个看到的tabbar栏
- UITabBarButton 是tabbar里的每个按钮,是View
- UITabBarItem 是UITabBarButton的数据模型,是Model