-
Notifications
You must be signed in to change notification settings - Fork 23
Adding an App Icon
Zachary Orr edited this page Jan 19, 2020
·
5 revisions
The Blue Alliance for iOS ships with several app icons to commemorate FRC seasons. Adding a new icon for a new season takes a few steps -
Example: 2020 App Icon PR
- Create an app icon. Be sure to use the official images from the-blue-alliance/logo repo. Make sure the icon looks good on a device (nothing is too small - use a tool like Icon Strike by Flinto) and on the web, since these icons are generally used as profile pictures on social media as well.
- Create an @2x and @3x resolution of the app icon as PNGs - the base size for an app icon is 60x60px, so a @2x icon is 120x120px, and a @3x is 180x180px. These should be named like
[Year][Game Name]Icon
, ex:2019DeepSpaceIcon@2x
and2019DeepSpaceIcon@3x
. There are helpful tools for this like ios-icon-generator. - Add the icons to the iOS project. Create a new sub-folder under the
App Icons
folder named[Year][Game Name]Icon
and drag/drop the new app icon images in to that folder.
- Add the new icon to the
CFBundleAlternateIcons
dictionary under theCFBundleIcons
andCFBundleIcons~ipad
dictionary inInfo.plist
. The key should be the name of the game, since it is used as the display name when selecting an icon.
- Build/run the app on iPhone and iPad to make sure the icons got added properly! Icon selection is under Settings.