dilluns, 10 d’abril del 2017

Ionic 2, Splash Screen and Icon

In my opinion this is the more tedious task at time of develop an app, the icon and the splash screen. But this is the first thing who user see when uses the app and this is important. For make it more tedious, numerous icons and different sizes are needed for iOS and Android. Here you can find more info, in this entry I will only explain the more easy form to solve this.

For help us  in this task the Ionic CLI provides a command

   ionic resources

This command makes all we need, but it needs some  things for make your work. In the /resources directory inside your project you encounter two files, the icon.png for the Icon and splash.png for the Splash Screen. Also contains a directory for each platform iOS and Android in my case. We will works whit this two files, the directories will be contain the diferent files who we need.

We will can edit the files with our prefered app. I use Gimp and Inkscape but you can uses which you want, whenever you respect the formats and the sizes, 2208x2208 in the splash.png and 1024x1024 for the icon.png and should have no rounded corners. The formats can be .png, .psd and .ai

Well, that's all. When we are finished the Icon and the Splash Screen  we just need run the command from a terminal inside the project directory and it will make all the files we need.


Cap comentari:

Publica un comentari a l'entrada