Skip to content

Arbalest313/HYRollingBanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

如果你在天朝

戳这里

About

Parallax Rolling Banner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published