1、效果示意图:
2、使用方法
2.1、创建一个导航控制器
2.2、设置照片所在目录
2.3、设置接收返回的图片路径
1 2 3 4 5 6 7 | NSString *path = [[SACache imageCachesFolder] stringByAppendingPathComponent:@"20150226"]; SAImagePickViewCtrl *imagePick = [[SAImagePickViewCtrl alloc] initWithFoldPath:path]; imagePick.resultBlock = ^(NSString *result){ ????// 选中照片后执行 }; UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:imagePick]; [self presentViewController:nav animated:YES completion:nil]; |
3、代码参考[……]