且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

iOS重命名/删除照片相册

更新时间:2023-12-05 19:34:16

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

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.