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/

 

 

 

 

转载于:https://www.cnblogs.com/daryl/p/7095178.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值