Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 581 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 581 Bytes

ZNCarouselBannerDemo

  • 实现图片循环滚动
  • 实现方法:

参数说明:

  • frame - 控件大小
  • ImageSource - 图片数组
  • ImageSorceType - 图片源类型,0为图片URL类型、1为Image类型。
ZNRotateBannerView *rotateBannerView = [[ZNRotateBannerView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 200) ImageSource:imageArray ImageSourceType:1];
rotateBannerView.delegate = self;
[self.view addSubview:rotateBannerView];