Skip to content

[How to use] How to save image to album in iOS #1000

Answered by CaiJingLong
kanari3 asked this question in Q&A
Discussion options

You must be logged in to vote

In iOS, all Assets are stored in a huge container, and Album is more like adding a Tag to an Asset.
So, you need to use saveImage* or saveVideo* to save the Asset first, and use the copyAssetToPath method.
If album does not exist, you also need to use the createAlbum method before copying.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kanari3
Comment options

Answer selected by kanari3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #999 on October 07, 2023 00:53.