zoukankan      html  css  js  c++  java
  • cordova-config.xml配置应用图标

    1. <icon src="res/icon/ios/browser.png"/>

    2.规格:

    iphone平台一般要求3种规格的图片:1x、2x、3x,也是就Icon.png、Icon@2x.png、Icon@3x.png.

    注意:iOS所有图标的圆角效果由系统生成,给到的图标本身不能是圆角的。

    1. 桌面图标 (app icon)

    • for iPhone6 plus(@3x) : 180 x 180
    • for iPhone 6/5s/5/4s/4(@2x) : 120 x 120

    2. 系统搜索框图标 (Spotlight search results icon)

    • for iPhone6 plus(@3x) : 120 x 120
    • for iPhone6/5s/5/4s/4(@2x) : 80 x 80

    3. 系统设置图标 (Settings icon)

    • for iPhone6 plus(@3x) : 87 x 87
    • for iPhone6/5s/5/4s/4(@2x) : 58 x 58

    4. 启动图片 (launch image)

    • for iPhoen5s/5(@2x) : 640 x 1136
    • for iPhoen4s/4(@2x) : 640 x 960

      iPhone6/iPhone6 plus 建议使用 launch file 或 storyboard ;如果依然想使用图片,尺寸数值为:

    • for iPhone 6(@2x) : 750 x 1334

    • for iPhone 6 plus (@3x) : 1242 x 2208

    5. 另一种根据iOS系统的分类法

    Spotlight

    • iOS 5,6

      base: 29pt, 需要 @1x, @2x, @3x,得出:29 x 29, 58 x 58, 87 x 87

    • iOS 7,8

      base: 40pt, 需要 @2x, @3x,得出:80 x 80, 120 x 120

    iPhone App

    • iOS 5,6

      base: 57pt,需要 @1x, @2x, 得出:57 x 57, 114 x 114

    • iOS 7,8

      base: 60pt,需要 @2x, @3x,得出:120 x 120, 180 x 180

    Settings

    • iOS 5,6,7,8

      base: 29pt,需要 @1x,@2x,@3x,得出:29 x 29, 58x58, 87x87

    6. 尺寸总结:

    图标尺寸输出列表:

    • 180x180
    • 120x120
    • 87x87
    • 80x80
    • 58x58
    • 57x57
    • 29x29

    启动图片尺寸输出列表:

    • 640x960
    • 640x1136
    • 750x1334
    • 1242x2208
    https://www.tongbiao.xyz/
  • 相关阅读:
    SQL点滴34—SQL中的大小写
    js关闭和打开页面
    jquery处理checkbox
    CKeditor 配置使用
    .net4.0中的ClientIDMode
    FCKEditor使用说明
    SQL对Xml字段的操作 拓荒者
    c#中BackGroundWorker控件 拓荒者
    C#中DataGradView控件的常用操作 拓荒者
    JavaScript操作Xml 拓荒者
  • 原文地址:https://www.cnblogs.com/tongbiao/p/9466289.html
Copyright © 2011-2022 走看看