Wrong App icon in iOS multitask view for iOS 13 - ios

Our iOS App gives the users “Tenants” the option to change the app icon right from within the app, by entering their ID. Since with iOS 10.3 Apple finally gave developers the ability to change their app’s icon programmatically by using “setAlternateIconName”, there is a strange behavior in which wrong app icon is appeared in multitasking app switcher after dynamically change the app icon using "setAlternateIconName"; this only happens with iOS 13 and the correct app icon shows again after restart the device.

Steps:
install our app and enter the tenantID in the which decide the tenant icon and change the icon using the "setAlternateIconName" from default icon to Icon A
The app icon itself is changed and the app icon in the multitasking app switcher is changed.
Delete the app.
Reinstall the app again and enter another tenantID to change to different icon from default icon to Icon B
The app icon itself is changed to Icon B but in the multitasking app switcher is still shows the Icon A. ?!
default app icon
change the app icon to icon A
change the app icon to icon B

Try this!
Uninstall App → Restart Device → Install App
It worked for me!

Related

NavigationBar item / icon hidden on App Store

We just uploaded a new version of our App on the App Store. And to my surprise, the icon to our search-function via the navigationBar was not visible.
When I run the app via Xcode, the icon is visible on all devices and iOS versions (which the app supports).
How can the icon just disappear? I'll try uploading the same build again against the App Store and see if there is any difference. But I doubt it...
Anyone experienced something similar before or know what this could be due to? Confused
The icon is just added via the StoryBoard in the project directly as a navigationBar item with an icon

ios old primary icon shows when enter background after dynamic changed my app icon

After I use UIApplication.shared.setAlternateIconName to dynamically change my app icon, the old icon appears a moment before applying the change.
Here is the gif link : https://sm.ms/image/NBwOrVmedvLgMpD
I am using Xcode 11 and I am on iOS 13.1.2

iOS app showing old app icon even after change

I am changing app icon for my app and had below issue.
Even though I changed app icon still at times when I quit the app the animation shows old app icon and then transforms to new app icon. And also in Siri suggestion I still see old app icon. Will this be there even after app release or is it just a issue with running through Xcode. Is there anyway I can remove this app icon caching? I tried deleting old app and restarting device and then installing new app that solves this issue, but actual users won’t be doing this. Can anyone suggest any solution for this issue?
I am using Xcode 11 and I am on iOS 13.
Clean build and delete derived data, and that should take care of your issue. But users downloading app from App Store will not experience this issue.
1) Product > Clean build folder
2) XCode > Preferences > Locations > click on arrow for derived data
The iOS Springboard caches the app icon. So as soon as you change the app icon it won’t reflect in Siri suggestions and few app quit animation may still show old app icon. Gradually as user starts using the app with new logo and when iOS springboard caches the app icon again it will start showing the new app icon. So, don’t worry gradually all your users will start seeing the new app icon.

Apple Watch notifications - icon not showing

I have an app I'm developing. But when my iphone is locked and the push notification goes to the iwatch it doesn't show my app icon. Rather it shows the default app icon. I tried adding the watch app icons to the App Icon file. but it still only shows the default icon when the push notification goes to the iwatch.
Are you sure you put them in the AppIcon in the images.xcassets folder in the WatchKit App target? There are 8 sizes you'll need to supply.
Be sure all the image in the xcassets are in the correct dimension in pixels (be sure no warnings from Xcode). After change or add images in my App I removed the App from iPhone and Watch and reinstall all. Then all icons were OK.
You need to add AppIcon in "WatchKit" Assets.xcassets file. Then remove your old build and install new one. Now you can see app icon.
I had same problem...
All images and assets were correctly in place
I even did a clean build, deleted the watch app and reinstalled it (via Xcode debugger sequence)
But: The app icon still would not show up in the listing or glance
Note..important clue, the icon WOULD show up if I use the simulator.
Fix: After installing the latest and greatest update, REBOOT THE WATCH.
i.e. I held the side button until the Apple Icon reboots
Voila..the icon now appears correctly..go figure..

App icon is not displaying in Apple Watch App

I am developing my first iWatch App, i added icons for watch app in Image Assets folder of Application.But when i install app in iWatch, then App icon not displaying.
Please find image , which showing app without Icon.
You have to put the correct icons with the correct size not in the iOS App Xcassests but in the WatchApp Xcassetes.

Resources