SDCycleScrollView 文字无限循环滚动

SDCycleScrollView *SDScrollview=[SDCycleScrollView cycleScrollViewWithFrame:scroll.bounds delegate:self placeholderImage:[UIImage imageNamed:@""]];
SDScrollview.onlyDisplayText=YES;
SDScrollview.autoScroll=YES;
//轮播时间
SDScrollview.autoScrollTimeInterval =3;
//字体高度
SDScrollview.titleLabelHeight=100;
//字体颜色
SDScrollview.titleLabelTextColor=[UIColor redColor];
//背景颜色
SDScrollview.titleLabelBackgroundColor=[UIColor grayColor];
//字体大小
SDScrollview.titleLabelTextFont=[UIFont systemFontOfSize:32];
//字体数组
SDScrollview.titlesGroup=titile;
//上下滚动
SDScrollview.scrollDirection=UICollectionViewScrollDirectionVertical;
[self.view addSubview:SDScrollview];

你可能感兴趣的:(SDCycleScrollView 文字无限循环滚动)