iOS简易图片选择器 (图片可多选,仿微信)

调用方法

    NickyImagePickerViewController *pickerController = [[NickyImagePickerViewController alloc]init];
    pickerController.pickerDelegate = self;  //设置代理
    [self.navigationController presentViewController:pickerController animated:YES completion:nil];

回调

- (void)nickyImagePicker:(NickyImagePickerViewController *)picker didSelectedImages:(NSArray<UIImage *> *)imageArray{
    NSLog(@"%@",imageArray);    // imageArray子元素为UIImage对象
}

下载地址

https://github.com/nicky2k8/NickyLocalImagePicker 

 

欢迎提出意见/建议

posted @ 2016-01-05 16:59  老徐想减肥  阅读(4843)  评论(0编辑  收藏  举报