Customize Icons
Customize Icons
This section shows how to configure an application's icon for various platforms. Documentation about splash screen images can be found in the Cordova-Plugin-Splashscreen documentation Splashscreen plugin docs.
Configuring Icons in the CLI
When working in the CLI you can define application icon(s) via the <icon>
element (config.xml
). If you do not specify an icon, the Apache Cordova logo is used.
<icon src="res/ios/icon.png" platform="ios" width="57" height="57" density="mdpi" />
Attributes | Description |
---|---|
src |
Required Location of the image file, relative to your project directory |
platform |
Optional Target |