I just lately found that with iOS 18, when displaying different icons in your app, you may not use Picture(uiImage: UIImage(named: identify))
as UIImage(named: identify)
now simply returns nil
(see right here and right here).
I’m making an attempt to determine how I can get round this with out having to have 2 variations of my icon in my app and subsequently take up more room. Is there some method to reference one picture in a number of locations, reminiscent of having one be an icon asset and one be a non-icon asset that I can hyperlink to the identical picture within the listing?
The one factor I might come put with to this point was to try to choose the picture itself from the asset listing when creating a brand new asset, however that simply appeared to create a duplicate within the new location as nicely, which isn’t any assist. Undecided if there’s a answer or not, simply can be good to maintain app measurement down. Possibly I’ll add a HEIF to take up much less area. Something can be useful!