// 图片数组,只要把图片数组给ADFocusImage就可以了。
NSArray *arry = @[[UIImage imageNamed:@"img_01"],[UIImage imageNamed:@"img_02"],[UIImage imageNamed:@"img_03"],[UIImage imageNamed:@"img_04"],[UIImage imageNamed:@"img_05"]];
//初始化
ADFocusImageView *imageFocus = [[ADFocusImageView alloc]initWithFrame:CGRectMake(10, 30, [UIScreen mainScreen].bounds.size.width - 20, 80)];
imageFocus.imageArry = arry;
imageFocus.delegate = self;
[self.view addSubview:imageFocus];
-
Notifications
You must be signed in to change notification settings - Fork 0
cs64188/ADFocusImage
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ADFocusImage图片轮播器
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published