一行代码 增加图片选择功能
You can use this class through one line code.
[BDImagePicker showImagePickerFromViewController:self allowsEditing:YES finishAction:^(UIImage *image) {
if (image) {
[sender setBackgroundImage:image forState:UIControlStateNormal];
}
}];
If you found a bug, and can provide steps to reliably reproduce it, open an issue. If you have a feature request, open an issue. If you want to contribute, submit a pull request
BDImagePicker is released under the MIT license. See LICENSE for details.