Closed ArturGasparyan closed 5 years ago
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.
self.pngData()
UIImagePNGRepresentation(self)
https://developer.apple.com/documentation/uikit/uiimage/1624096-pngdata You use an old swift version I think
In Image+FileKit.swift on line 66 I get the following error:
'pngData()' has been renamed to 'UIImagePNGRepresentation(_:)'
Changing
self.pngData()
toUIImagePNGRepresentation(self)
solves the issue. Please, kindly update.