UITabbar相关

来源:互联网 发布:计算机二级java考试 编辑:程序博客网 时间:2024/05/22 00:43

//设置设定选中的UITabBarItem后面的图

selectionIndicatorImage

//设置为选中的tabbaritem后面的图

shadowImage

//设置选中后的字体颜色

tintColor

//设置tabbar颜色 

barTintColor

//设置选中后图案的颜色

selectedImageTintColor

//设置tabbar背景

backgroundImage


//delegate

//选中标签时调用
- (void)tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item;
//将要开始编辑标签时
- (void)tabBar:(UITabBar *)tabBar willBeginCustomizingItems:(NSArray<UITabBarItem *> *)items;          //已经开始编辑标签时         
- (void)tabBar:(UITabBar *)tabBar didBeginCustomizingItems:(NSArray<UITabBarItem *> *)items;           
//将要进入编辑状态时
- (void)tabBar:(UITabBar *)tabBar willEndCustomizingItems:(NSArray<UITabBarItem *> *)items changed:(BOOL)changed; 
//已经进入编辑状态时
- (void)tabBar:(UITabBar *)tabBar didEndCustomizingItems:(NSArray<UITabBarItem *> *)items changed:(BOOL)changed;


0 0
原创粉丝点击