Access Asset Catalog programmatically
In order to access the image from the Asset Catalog, you only need to access the name of the asset group without any extensions. So, if you add an image named @”my-button@2x.png” to the Asset Catalog, it will create an asset group called my-button. Now, all you have to do is access the image like … Read more