iOS重命名/删除照片相册 [英] iOS rename/delete albums of photos

查看:474
本文介绍了iOS重命名/删除照片相册的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我能够从我的应用添加照片和创建相册,但我也希望能够重命名/删除这些相册中的相册和图片。我知道Apple有限制,但是至少可以管理由我的应用程序创建的相册和照片吗? (ALAsset和ALAssetLibrary)
我知道我无法对相机行中的现有相册和照片做任何事情,我对此表示满意。

I am able to add photos and create albums from my app but I also want to be able to rename/delete albums and pictures in these albums. I know Apple have restrictions but is it possible at least to manage the albums and photos created by my application? (ALAsset and ALAssetLibrary) I understand I can't do anything to the already existing albums and photos in the Camera row and I am ok with this.

推荐答案

如果创建了相册,因此该相册可以可编辑,则该相册中是否存在资产取决于您您。但是资产的名称由您决定,基本上,您无法访问用户的照片库,从而无法对相册及其内容进行精细的管理。仅用户可以使用照片应用程序执行此操作-在甚至照片应用程序允许的范围内。这就是为什么执行此类操作的应用程序使用内部相册来呈现图像的原因。您可以将自己喜欢的任何图像聚集到界面中,并以自己的相册形式向用户显示

If you created an album, so that the album is editable, then the presence or absence of an asset in that album is up to you. But the name of the asset is not up to you, and basically you don't have the kind of access to the user's photo library that would permit fine-grained management of albums and their content. Only the user can do that (using the Photos app) - to the extent that even the Photos app permits it. That is why apps that do this sort of thing use internal "albums" to present the images. You can clump any images you like into your interface and show them to the user as an "album" of your own.

这篇关于iOS重命名/删除照片相册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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