zoukankan      html  css  js  c++  java
  • Ionic3 启动页以及应用图标

    1. 将新的启动页和应用图标图片(最好是高清png)上传到根目录 resources
    2. 使用命令自动生成,通过CMD进入项目所在文件夹,分别执行

      ionic cordova resources android  

      ionic cordova resources ios

      图片规格:The source image for icons should ideally be at least 1024x1024px and located at resources/icon.png. The source image for splash screens should ideally be at least 2732x2732px and located at resources/splash.png. If you used ionic start, there should already be default Ionic resources in the resources/ directory, which you can overwrite.

      前置条件:This command uses Ionic servers, so we require you to be logged into your free Ionic account. Use ionic login to login.

       

    3. 检查根目录下config.xml
      配置项:
      SplashScreenDelay:单位毫秒,默认3秒,启动页隐藏事件

    4. 结束,运行下看看

    参考:http://ionicframework.com/docs/cli/cordova/resources/

     

  • 相关阅读:
    函数
    文件处理及处理模式
    字符编码
    元组,字典和集合的用法
    数字类型、字符串和列表
    计算机硬件介绍
    数据类型及语法介绍
    初识python
    设计模式
    最近的时候
  • 原文地址:https://www.cnblogs.com/daryl/p/7095178.html
Copyright © 2011-2022 走看看