Closed EthanSK closed 6 years ago
When trying to save a UIImage, the app crashes and I get this error inside of the library files
Thread 1: Fatal error: Optional does not conform to Encodable because UIImage does not conform to Encodable.
Ah, turns out I was trying to use an image from a dictionary, which requires unwrapping. This causes the function overloading to not work properly and the one that uses codable is used.
When trying to save a UIImage, the app crashes and I get this error inside of the library files
Thread 1: Fatal error: Optional does not conform to Encodable because UIImage does not conform to Encodable.