Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Here I have wrote one snippet for how to access an image through Assets programmatically:
It is not easy to access the AppIcon like we access other images from Assets.
Reason, the AppIcon from the asset catalog is not placed in the catalog after compiling rather it gets copied into the Apps bundle.
After copied into the Apps bundle, it gets shuffled.
An extension that makes you easy to access the App icon through Bundle.
iconFiles.last : This line helps in getting the last image of the app icon.
Calling an extension in ViewController to display an image from AppIcon:
I hope from this, it will make you more comfortable getting the App Icon image from assets.
Thanks for tuning in once again!
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.