一个简洁的自定义自动无限轮播框架
#import "LPAutoScrollView.h"
pod 'LPAutoScrollView'
LPImageContentView
直接使用lp_shouldAutoScroll
请在控制器出现时监听- (void)lp_scrollView:(LPAutoScrollView *)scrollView newsDataAtIndex:(NSUInteger)index forContentView:(LPContentView *)contentView
方法中,请将 LPContentView 替换为你自定义的view,然后进行模型赋值。