工具条扩展 XZMTabbarExtension
- 授权协议: GPL
- 开发语言: Objective-C
- 操作系统: iOS
- 软件首页: https://github.com/xiezhongmin/XZMTabbarExtension
- 软件文档: http://7xkt3g.com1.z0.glb.clouddn.com/tabBartabar.gif
软件介绍
XZMTabbarExtension 。
动态工具条:
/** 创建自定义tabbar */
XZMTabbarExtension *tabBar = [[XZMTabbarExtension alloc] init];
tabBar.backgroundColor = [UIColor whiteColor];
tabBar.frame = self.tabBar.bounds;
/** 传递模型数组 */
tabBar.items = self.itemArray;
[tabBar xzm_setShadeItemBackgroundColor:[UIColor cyanColor]];
/** 设置代理 */
tabBar.delegate = self;
[self.tabBar addSubview:tabBar];
/** 代理方法 */
- (void)xzm_tabBar:(XZMTabbarExtension *)tabBar didSelectItem:(NSInteger)index{
self.selectedIndex = index;
}

