You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For anybody stumbling across this discussion, Jordi and I have identified the issue and raised it as FB10531954 and FB10531882 on Apple's feedback tracker.
The bug appears to be within the ImageRenderer which we utilise to convert the SwiftUI view to an image. Given this is new in iOS 16, I hope this will be fixed in an upcoming beta and will keep an eye on this.
In the meanwhile we have identified two possible workarounds:
Use a supported colour space/file format (PNG using RGB colour space appears to work fine)
Wrap your images in UIImage first before passing to SwiftUI: Image(uiImage: UIImage(named: "XX")!)
FYI, we just discovered that images in P3 colorspace don't work for some reason.
The text was updated successfully, but these errors were encountered: