Preserve your images' transparency when saving and sharing them, in Swift

1 · · Dec. 5, 2022, 6:41 a.m.
Loosing your rounded corners or transparent background when saving an image to the user's photo library or sharing it with UIActivityViewController? It's because it's be turned into a JPEG. Here's how to solve that....