Skip to content

Mr-nan/ZNCarouselBannerDemo

Repository files navigation

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];

Releases

No releases published

Packages

No packages published