如何使用UIImageJPEGRepresentation在iOS 12中修复此代码

时间:2019-06-26 15:04:05

标签: ios swift

let imageData = UIImageJPEGRepresentation(MyimageView.image!, 0.6)
let compressImage = UIImage(Data: imagedata!)
UIImageWriteToSavedPhotoAlbum(compressImage!,nil,nil,nil)

0 个答案:

没有答案