更新时间:2023-12-01 18:47:22
您必须创建一个自定义选择器来选择相册而不是图像.您将要使用ALAssetLibrary通过enumerateGroupsWithTypes:usingBlock:failureBlock获取相册列表,然后在组调用enumerateAssetsUsingBlock:获取单个图像.
You'll have to create a custom picker to select an album instead of an image. You'll want to use ALAssetLibrary to get a list of albums via enumerateGroupsWithTypes:usingBlock:failureBlock and then on the group call enumerateAssetsUsingBlock: to get the individual images.