iOS Tutorial Icons and Launch Images

Erel

Administrator
Staff member
Licensed User
This tutorial is relevant for B4i v4.40+.

App icons

iOS apps require a wide range of icon sizes. Starting from 20x20 and up to 1024x1024.

B4i will create all icons automatically based on the large icon (icon-store-1024.png).

Start by putting your own image in <project>\Files\Special.
The file name should be icon-store-1024.png (all lowercase) and its size should be 1024x1024.

When you run the project all icons will be created under <project>\Objects\src\Images.xcassets\AppIcon.appiconset



If the icons look good then you don't need to do anything more. If you do want to set one or more of the icons yourself then create the icon with the correct name and size and put it in <project>\Files\Special.

Launch images

Launch images appear while your app loads. By default B4i adds white launch images. You can see the launch images in <project>\Objects\src\Images.xcassets\LaunchImage.launchimage

If you like to override the white images then create new images with the exact same names and sizes and put them in <project>\Files\Special.
 

cooperlegend

Active Member
Licensed User
Works fine, except it creates the icon as read only as icon.png and when you compile release again it complains "Access to the path 'C:\Code\Project\Objects\src\icon.png' is denied." How can I get around this without needing to keep deleting this file?
 

sorex

Expert
Licensed User
If you like to override the white images then create new images with the exact same names and sizes and put them in <project>\Files\Special.
it would be nice if it took the Default@2x.png one and resized it to the other sizes if they don't exist.

I thought it did it like that just like the icons but when my app was waiting for review I noticed that only one had the right color.
 
Top