图片选择控制器 EasyImagePicker

码农软件 · 软件分类 · 选择器(Picker) · 2019-06-06 09:14:25

软件介绍

EasyImagePicker是一款能够一行代码搞定图片的选择控制器UIImagepicker,抛开代理什么的都不用管

代码如下:

 GoodPicker *picker = [GoodPicker imagePickerDidFinishPickImage:^(NSDictionary *dict, UIImage *image) {
    //图片选择成功后该block调用。参数说明:dict所选择的图片的信息,image选择到的图片
    self.myImageView.image = image;
} didCancelPickImage:^(UIImagePickerController *picker) {
    //点击取消的时候该block调用
    [picker dismissViewControllerAnimated:YES completion:nil];
}];

本文地址:https://codercto.com/soft/d/7361.html

500 Lines or Less

500 Lines or Less

Amy Brown、Michael DiBernardo / 2016-6-28 / USD 35.00

This book provides you with the chance to study how 26 experienced programmers think when they are building something new. The programs you will read about in this book were all written from scratch t......一起来看看 《500 Lines or Less》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

随机密码生成器
随机密码生成器

多种字符组合密码