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

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.

主站蜘蛛池模板: 监利县| 大连市| 延安市| 广丰县| 鄢陵县| 三亚市| 麟游县| 扶绥县| 邳州市| 诸城市| 阜阳市| 张家港市| 宝山区| 岳西县| 朝阳县| 托克逊县| 宜宾县| 木里| 莫力| 扎赉特旗| 兴安县| 阜宁县| 平乡县| 南漳县| 东阳市| 芜湖县| 中超| 汶川县| 百色市| 西盟| 安康市| 巩留县| 长宁区| 灵山县| 日喀则市| 大宁县| 浏阳市| 呼图壁县| 武宁县| 梓潼县| 达日县|