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/

     

  • 相关阅读:
    js-排序算法
    django csrf token添加
    django mongodb配置
    django logging
    linux文件行首行尾添加或替换
    linux 大小写转化
    linux $参数
    mysql 基本操作
    生产者消费者示例
    python smtplib发email
  • 原文地址:https://www.cnblogs.com/daryl/p/7095178.html
Copyright © 2011-2022 走看看