定制的照片选择器视图 [英] Customized photo picker view
问题描述
我想以自定义形式使用照片选择器视图,例如在屏幕上显示矩形以聚焦在图片的指定区域.但是,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屋!