Does anyone know how to convert a UIImage to a Base64 string, and then reverse it?
UIImage
I have the below code; the original image before encoding is good, bu
Swift 4.2 | Xcode 10
extension UIImage { /// EZSE: Returns base64 string public var base64: String { return self.jpegData(compressionQuality: 1.0)!.base64EncodedString() } }