Skip to content

JasonCaoHQ/JCImageSliderView

Repository files navigation

JCImageSliderView

用OC写的一个iOS广告栏,实现循环播放,手动拖动时暂停自动播放。

demo gif


Usage

Creation of a JCImageSliderView

JCImageSliderView *imageSliderView = [[JCImageSliderView alloc] initWithFrame:CGRectMake(0, 0, width, height) imageSliderItems:array pageControlPosition:JCPageControlPositionRight timeInterval:4.0];
imageSliderView.delegate = self;
[self.view addSubView:imageSliderView];

Delegate

- (void)imageSliderView:(JCImageSliderView *)imageSliderView didSelectAtIndex:(NSInteger)index {
    JCImageSliderItem *item = array[index];
    NSLog(@"%@", item.title);
}

License

See LICENSE file for details.

About

OC写的一个iOS广告栏,图片轮播控件

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published