定制的照片选择器视图 [英] Customized photo picker view

查看:111
本文介绍了定制的照片选择器视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想以自定义形式使用照片选择器视图,例如在屏幕上显示矩形以聚焦在图片的指定区域.但是,UIImagePickerController只能提供普通的照片选择器视图.还有其他可以替代UIImagePickerController的类,还是应该创建UIImagePickerController的子类?

I want to use photo picker view in customized form, such as showing a rectangle in screen to focus on specified area of the picture. However, UIImagePickerController can only offer a normal photo picker view. Is there any other class I can use to replace UIImagePickerController, or should I create a sub class of UIImagePickerController?

推荐答案

您可以使用

You can use ALAsset Library for designing your own ImagePicker. With the help of ALAsset library you can able to extract the photos and videos from the iOS album and use it in your own design.

一个很好的例子是 ELCImagePickerController

这篇关于定制的照片选择器视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆