使用方法:(use method)
1.将文件夹导入项目(import the files to your project)
2.#import "JZAlbumViewController.h"
3.button点击事件(button click event)
#pragma mark - 查看大图
- (void)p_btnClickCheckBigImage:(UIButton *)btn {//点击事件(the method of the button click event)
JZAlbumViewController *jzAlbumVC = [[JZAlbumViewController alloc]init];
jzAlbumVC.currentIndex = btn.tag; //当前点击图片的索引
//webImageUrl可以为url数组, 可以为urlString 数组, 可以为二进制 UIImage 数组
jzAlbumVC.imgArr = [NSMutableArray arrayWithArray:webImageUrl];
[self presentViewController:jzAlbumVC animated:YES completion:nil];
}
#pragma mark - 查看大图
- (void)p_btnClickCheckBigImage:(UIButton *)btn {//点击事件(the method of the button click event)
JZAlbumViewController *jzAlbumVC = [[JZAlbumViewController alloc]init];
jzAlbumVC.currentIndex = btn.tag; //当前点击图片的索引
//webImageUrl可以为url数组, 可以为urlString 数组, 可以为二进制 UIImage 数组
jzAlbumVC.imgArr = [NSMutableArray arrayWithArray:webImageUrl];
[self presentViewController:jzAlbumVC animated:YES completion:nil];
}