简体   繁体   中英

How to revert app icon back to original in iOS?

I have successfully changed my app icon into an alternate icon on iOS.

However, I am wondering if it is possible to revert the changed icon back to the original one, that is in Assets folder without having to add it as an alternate icon in the Info.plist file.

I tried it and it returns the following error "The file doesn't exist."

I'm hoping there is a way to do it without having to add the images somewhere other than inside the Assets folder...

Thanks a lot,

Paprika

Simply specify nil for the alternate icon name:

From the documentation

alternateIconName

Specify nil if you want to display the app's primary icon, which you declare using the CFBundlePrimaryIcon key.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM