Thursday, May 16, 2024
HomeiOS Developmentswift - Easy methods to save the video as the latest merchandise...

swift – Easy methods to save the video as the latest merchandise in iOS Picture LIbrary


I am utilizing Images framework to save lots of a video to Images Library in Swift.

I used this technique –

PHPhotoLibrary.shared().performChanges {
    PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL: url)
}

It’s working positive and saving the video within the Images Library. The one problem is the video file that I am utilizing would possibly outdated so if the file is from yesterday and I’ve current images in my library from in the present day as an exported merchandise it is not going to seem as the most recent exported merchandise. Specifically if the video you are attempting to save lots of within the images library is just too outdated I’ve to scroll and discover it within the Images Library after exporting it.

Is there a manner I can reserve it as the latest merchandise within the Images Library?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments