How too save image to Photo library in iOS
Issue #790 Use UIImageWriteToSavedPhotosAlbum Adds the specified image to the user鈥檚 Camera Roll album. Let鈥檚 make an NSObject delegate class so we can perform target action to notify about completion import UIKit struct ImageService { final class Delegate: NSObject { let completion: (Error?) -> Void init(completion: @escaping (Error?) -> Void) { self.completion = completion } @objc func savedImage( _ im: UIImage, error: Error?, context: UnsafeMutableRawPointer? ) { DispatchQueue.main.async { self....