使用步骤
设置数据源
实现代理方法
1.- (NSInteger)numberInPageView:(nullable CCPageView *)pageView;
2.- (nullable UIViewController *)pageview:(nullable CCPageView *)pageview controllerForIndex:(NSInteger)index;
3.- (nullable NSString *)pageview:(nullable CCPageView *)pageview titleForIndex:(NSInteger)index;
具体请参考demo