Skip to content
Parallax Rolling Banner
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
RollingBanner.xcodeproj
RollingBanner
RollingBannerTests
.gitignore
README.md

README.md

HYRollingBanner

Parallax Rolling Banner

    NSMutableArray * image = [NSMutableArray new];
    [image addObject:[UIImage imageNamed:@"1.jpg"]];
    [image addObject:[UIImage imageNamed:@"0.jpg"]];
    [image addObject:[UIImage imageNamed:@"2.jpg"]];

    RollingBanner * banner = [[RollingBanner alloc] initWithFrame:CGRectMake(0, 64, self.view.bounds.size.width, 300) pictures:image atIndex:1];
    [self.view addSubview:banner];

Paging

    banner.pagingEnabled = YES;  //if you wannna system paging rather than the custom paging

Target Postion

    // -- Custom Paing, which is more soomth and flexible

如果你在天朝

戳这里

You can’t perform that action at this time.