After upgrading to xcode15 and ios17, the image appears darker, which seems to only affect images with transparent channels. Apple officials also have other developers who have encountered similar problems. As of now, does anyone have a good solution? Apple official forum: https://developer.apple.com/forums/thread/733680 Apple official has not responded yet.
Apple's bug on indexed color PNG. Effect iOS 17.0-17.2 See: https://github.com/dreampiggy/iOS17IndexedPNGDecodeBug