_titleArray = @[@"直播" ,@"强烈推荐" ,@"你懂的" ,@"呵呵哒哒呵呵哒哒" ,@"神马情况" ,@"233333"];
    _channelView = [[ZCHScrollChannelView alloc] init];
    [self.view addSubview:_channelView];
    [_channelView mas_makeConstraints:^(MASConstraintMaker *make) {
	make.top.equalTo(self.mas_topLayoutGuide);
        make.left.right.offset(0);
        make.height.offset(48);
    }];
    [self.channelView reloadData];	
    /// 设置默认选中item(如不设置默认不选中)
    self.channelView.defaultSelectItem = 0;
使用 CocoaPods 集成. 首先在podfile中
pod 'ZCHScrollChannelView'
安装一下pod
#import <ZCHScrollChannelView/ZCHScrollChannelView.h>
| 版本 | 更新内容 | 
|---|---|
| 0.1.1 | 自动设置iOS12以下的automaticallyAdjustsScrollViewInsets以及iOS12及以上的contentInsetAdjustmentBehavior. | 
| 0.1.0 | 修复上个版本的titleArray个数为0的时候的bug,重写了布局方法,数量巨大(用了100万个数据的titleArray测试)的时候没有前面的版本那么卡了 | 
| 0.0.9 | 去掉log打印 | 
| 0.0.8 | 优化reloadData刷新效果.现支持setSelectItem:animated: | 
| 0.0.7 | 支持设置TwigView距离底边的距离 | 
| 0.0.6 | 大更新,在API不改动的前提下新增控件的缓存池减小内存消耗.现在reloadData之后需要设置选中的btnTag. | 
| 0.0.5 | 修复0.0.4版本中宽度不跟随选中按钮宽度时不更新TwigView的BUG | 
| 0.0.4 | 新增设置按钮正常/选中状态字体的设置 | 
| 0.0.3 | 统一命名,修复TwigView显示错乱问题 | 
| 0.0.2 | 拓展TwigView的功能.可以手动隐藏 | 
| 0.0.1 | 支持TwigView.按钮正常/选中状态颜色设置.按钮字体设置等. | 
