Loading secondary Icon

I want to add the option to choose an alternative icon inside the app.

Is there a way to load an icon asset from within the app? I downloaded Apple’s alternative icon sample, which is supposed to show a list of icons to choose from, but even in the sample, it did not work.

So the current solution is to add every alternative icon along with another image asset of the same image to display to the user. This sounds like a waste of bytes.

Thank you in advance for any help.

Loading secondary Icon
 
 
Q