无限循环自动滚动图片轮播
应用介绍
源码LZAutoScrollView, 使用说明: LZAutoScrollView *autoScrollView = [[LZAutoScrollView alloc] initWithFrame:CGRectMake(0, 20, 320, 150)]; autoScrollView.delegate = self; autoScrollView.titles = @[@"一", @"二", @"三"]; autoScrollView.images = @[ @"http://img2.3lian.com/2014/f7/5/d/22.jpg", @"http://image.tianjimedia.com/uploadImages/2011/327/1VPRY46Q4GB7.jpg", @"http://img6.faloo.com/Picture/0x0/0/747/747488.jpg" ]; autoScrollView.placeHolder = [UIImage imageNamed:@"place.jpg"]; //图片占位 [autoScrollView createViews]; [self.view addSubview:autoScrollView]; 如需自己实现图片加载 和图片点击事件 只要实现LZAutoScrollViewDelegate 里面的 imageClicked:(NSInteger)index方法 和 loadImageWithURLString:(NSString *)urlString andImageView:(UIImageView *)imageView; 就可以了

©软件著作权归作者所有。本站所有内容均来源于网络,不得违法使用,仅供学习使用,请支持正版!
转载请注明出处: 662P » 无限循环自动滚动图片轮播
发表评论 取消回复