方法一:SDCycleScrollView设置自动滚的时间,以前默认是两秒;但是动画会卡顿:
cycleScrollView.autoScrollTimeInterval=5;//自动滚的时间,时间自己调整
方法二:取消动画 animated:YES改成 animated:NO
[_mainView scrollToItemAtIndexPath:[NSIndexPath indexPathForItem:targetIndex inSection:0] atScrollPosition:UICollectionViewScrollPositionNone animated:NO];//改成无动画的,如果带动画会卡顿