Trying to save image to Photo album with custom name in iOS

后端 未结 1 1687
独厮守ぢ
独厮守ぢ 2020-12-20 18:05

I have an iOS application where I am saving an image to my photos folder to my iPad. However, what I would like to do is store the image with a custom name (e.g. using the

相关标签:
1条回答
  • 2020-12-20 18:52

    Since you cannot override any image/video in the user's photo library, you will not be able to give the the file a specific filename.

    You can add some metadata to your image if you use the method: writeImageDataToSavedPhotosAlbum:metadata:completionBlock:, but you will not be able to set the filename.

    0 讨论(0)
提交回复
热议问题