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
iOS 10.3 finally gave developers the ability to change their app’s icon programmatically, although it takes a little work to set up. In Apple’s UIApplication API document, there are 3 things worth a glance:
UIApplication
Follow the steps to change the App Icon.
Step 1:
Create @2x & @3x image for App Icon.
Step 2:
The actual code to change your app’s icon is trivial, but first, there’s some setup work because you must declare all possible icons in your Info.plist file. The process behind this is far from optimal, and right now the best thing to do is edit your Info.plist as XML rather than trying to use the built-in property list editor in Xcode.
Step 3:
Add a Method to change the image Icon.
Step 4:
Now call the changeIcon method from any event.
Hope the above blog will help you to change the App icon in runtime in iOS using swift.
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.