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

时间:2016-01-05 18:33:43   收藏:0   阅读:1457

技术分享

调用方法

    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 

 

欢迎提出意见/建议

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!