Nyx0uf/Shinobu

kUTTypeJPEG deprecated

guestguestguestguest opened this issue · 2 comments

In UIImage extension, func save(url: URL) the call to CGImageDestinationCreateWithURL() argument type kUTTypeJPEG has been deprecated. It builds without error by changing that arg to UTType.jpeg.identifier as CFString.

Nyx0uf commented

I don't understand, already done on october 2022 : Shinobu/src/common/extensions/UIImage+Extensions.swift