官术网_书友最值得收藏!

Platform specific resources

Ionic provides support for building icons and splash screen resources for various platforms and devices. For building resources, we just need to place the source image inside the resources folder with the name icon.png and splash.png. This way you will get the extracted icons and splash screens for each platform, such as a Native rounded corners icon for iOS, and transparent background for an Android icon.

To summarize the steps:

  1. Add files to the resources folder naming icon.png and splash.png. (.psd and .ai can also be used).
  2. Make sure the minimum size requirements for icon are 192x192 px and for splash 2208x2208 px.
  3. Run the ionic resources command from the CLI.

Different platforms have different ways of styling icons, for example, iOS will apply its rounded corners, that is why we recommend the Ionic source file to be without rounded corners. Also, using the ionic resources command will require at least Cordova 3.6 or more.

主站蜘蛛池模板: 平果县| 锡林浩特市| 来宾市| 白沙| 安西县| 瑞昌市| 罗江县| 南木林县| 讷河市| 屏东县| 南乐县| 台湾省| 松滋市| 普兰店市| 忻州市| 波密县| 乌拉特中旗| 寿阳县| 扎赉特旗| 江孜县| 绥化市| 甘孜县| 琼中| 东港市| 岳阳县| 平遥县| 方正县| 宜黄县| 肥西县| 台前县| 孟津县| 徐州市| 河北省| 眉山市| 讷河市| 博湖县| 大兴区| 岐山县| 商城县| 康平县| 鹤山市|