- Home /
Unity iOS: How to add icons for spotlight and settings?
I was wondering if anyone knows of a way to add icons for spotlight and settings?
According to the Apple guidelines listed at iOS Developer Technical Q&A page, icons of sizes 29x29, 58x58, 50x50, 100x100 are optional but recommended. The player settings menu does not contain slots to add these images. I would like to add the images through Unity since the developers on this project are not required to tinker with Xcode most of the times due to the fact that the project is using continuous integration. It is a bit cumbersome to make changes in the CI pipeline, or add references to the required images in Xcode on every build machine.
FWIW, I was able to add entries for the abovementioned images in the Info.plist using a PostProcessor script, but that doesn't go much far since Unity never really picks up the new icon images (29x29, 58x58, 50x50) because they haven't been referenced anywhere, and only just placed in the same location as other icon images.
Can anyone confirm if this is something that will be added in the upcoming Unity releases? Is there a workaround that anyone can share in the meantime?
PS: Upon creating the Xcode project, there is a Contents.json at Unity-iPhone/Images.xcassets/AppIcon.appiconset which contains entries for icon images like:
"size" : "57x57",
"idiom" : "iphone",
"filename" : "Icon@2x.png",
"scale" : "2x"
I can use a PostProcessor script to add entries for 29x29, 50x50, 58x58 images. But again, there'll be no image corresponding to the filename since they haven't been referenced anywhere.
Any help/insights/suggestions are most welcome.
Your answer
Follow this Question
Related Questions
No Adaptive icon settings 0 Answers
Use editor icons in game? 2 Answers
Icon Doesn't Show Android 2 Answers