I'm finding that iOS 16's ShareLink API is apparently converting my PNGs with transparency to JPEG.

Is there a way to preserve the image's transparency when using #ShareLink?

My images are PNGs that I’ve added locally to the Asset Catalog in the Xcode project.

#Swift #SwiftUI #iOSDev

@thatvirtualboy it’s unlikely to be the cause, but try disabling the “Optimize PNG images” build setting in Xcode. Xcode runs all pngs in asset catalogs through a modified version of pngcrush. This shouldn’t cause a problem, but is one thing to try when Xcode is misbehaving with PNGs.