转帖 :http://www.tuicool.com/articles/UBZJFb
一. ALAssetsLibrary 介绍
ALAssetsLibrary 提供了访问iOS设备下”照片”应用下所有照片和视频的接口;
从 ALAssetsLibrary 中可读取所有的相册数据,即 ALAssetsGroup 对象列表;
从每个 ALAssetsGroup 中可获取到其中包含的照片或视频列表,即 ALAsset 对象列表;
每个 ALAsset 可能有多个representations表示,即 ALAssetRepresentation 对象,使用其 defaultRepresentation 方法可获得其默认representations,使用[asset valueForProperty: ALAssetPropertyRepresentations ]可......
阅读全文