'pngData()' has been renamed to 'UIImagePNGRepresentation(_:)'
ArturGasparyan opened this issue · 1 comments
ArturGasparyan commented
In Image+FileKit.swift on line 66 I get the following error:
'pngData()' has been renamed to 'UIImagePNGRepresentation(_:)'
Changing self.pngData()
to UIImagePNGRepresentation(self)
solves the issue. Please, kindly update.
phimage commented
https://developer.apple.com/documentation/uikit/uiimage/1624096-pngdata
You use an old swift version I think