I am having a string array of names of images stored in the document directory of the application. I want to Copy images from the document directory of the application to the PHOTOS LIBRARY OF DEVICE.
Swift 4
I will tell you the steps to save a photo from Document] -> [Photos Library] in the easiest way that is using UIImageWriteToSavedPhotosAlbum() function of UIKit
Step 1:
Step 2:
Step 3:
Step 4: