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

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 

 

欢迎提出意见/建议

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

上一篇:reactjs受控组件和非受控组件


下一篇:reactjs —— useCallback:联动