WCCycleScrollViewiOS 无限循环滚动视图
WCCycleScrollView
iOS循环滚动幻灯片
使用
WCCycleScrollView * cycleView = [WCCycleScrollView cycleScrollViewWithFrame:CGRectMake(0,100,宽度200)代表:自 placeholderImage: [UIImage的imageNamed:@ “ H6 ” ]]; cycleView.delegate = self; cycleView.imageURLStringGroup = @ [ @“ http://d.5857.com/xgs_150428/desk_005.jpg ”,@“ http://imgstore.cdn.sogou.com/app/a/100540002/406526.jpg ”,@“ http://www.bz55.com/uploads/allimg/150701/140-150F1142638.jpg ”,@“ http://b.hiphotos.baidu.com/image/pic/item/83025aafa40f4bfbaa2e3c72094f78f0f736181d.jpg ” ] ; cycleView.titleGroup = @ [ @“这是第一张这是第一张这是第一张这是第一张这是第一张这是第一张”,@“这是第二张”,@ “这是第三张”,@“这是第四张” ]; [scrollview addSubview: cycleView];
评论