图片选择控制器 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

Blog Design Solutions

Blog Design Solutions

Richard Rutter、Andy Budd、Simon Collison、Chris J Davis、Michael Heilemann、Phil Sherry、David Powers、John Oxton / friendsofED / 2006-2-16 / USD 39.99

Blogging has moved rapidly from being a craze to become a core feature of the Internetfrom individuals sharing their thoughts with the world via online diaries, through fans talking about their favori......一起来看看 《Blog Design Solutions》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

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

多种字符组合密码

SHA 加密
SHA 加密

SHA 加密工具