一款简单好用的选项卡,一句代码实现选项卡功能
1.直接下载,拖入HLSegmentBar文件直接使用
2.使用cocoapods集成: 在podfile文件中写入 pod 'HLLSegmentBar', '~> 0.0.1' 然后运行pod install 即可.
1.导入头文件#import "HLSegmentBarVC.h" 2.调用方法- (void)setUpWithItems: (NSArray <NSString >)items childVCs: (NSArray <UIViewController >)childVCs即可
具体参考demo
