Latest 0.0.1
License MIT
Platforms ios 7.0



  • Display multiple images
  • Infinite scrolll
  • Auto playing images with setting interval
  • Customize page control position


    pod "DSInfiniteImagePlayerView"


    copy the source file to your project

How to use

    self.infiniteScrollView = [[DSInfiniteImagePlayerView alloc] initWithFrame:CGRectMake(0, 0, 200, 100)];
    self.infiniteScrollView.delegate = self;
    self.infiniteScrollView.pageIndicatorTintColor = [UIColor greenColor];
    self.infiniteScrollView.currentPageIndicatorTintColor = [UIColor yellowColor];
    self.infiniteScrollView.pageControlPosition = DSPageControlPositionTopRight;
    [self.infiniteScrollView reloadData];

then implement the protocol DSInfiniteImagePlayerViewDelegate

    - (NSUInteger)numberOfImages:(DSInfiniteImagePlayerView *)playerView
        return ImageCount;

    - (void)playerView:(DSInfiniteImagePlayerView *)playerView imageForImageView:(UIImageView *)imageView atIndex:(NSInteger)index
        imageView.image = [UIImage imageNamed:[NSString stringWithFormat:@"image        %ld.jpg", index % 3 + 1]];

you also can use this in storyboard. just set the class of your view to DSInfiniteImagePlayerView, then make an outlet from storyboard and set the properties you want.

Note: you must set the delegate, or it won’t display the images.

Latest podspec

    "name": "DSInfiniteImagePlayingView",
    "version": "0.0.1",
    "summary": "Infinite image player view.",
    "description": "Infinite image player view. play image automatically and customs page control position.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "daisysomus": "[email protected]"
    "platforms": {
        "ios": "7.0"
    "source": {
        "git": "",
        "tag": "0.0.1"
    "source_files": "DSInfiniteImagePlayingView/DSInfiniteImagePlayingView/*.{h,m}",
    "exclude_files": ""

Pin It on Pinterest

Share This