• iOS应用图标及尺寸


    Icon and Image Sizes

    Every app needs an app icon and a launch file or image. In addition, some apps need custom icons to represent app-specific content, functions, or modes in navigation bars, toolbars, tab bars, and other areas. Table 45-1 lists the sizes required for these custom icons and images. 

    Table 45-1Size (in pixels) of custom icons and images

    Asset

    iPhone 6s Plus and iPhone 6 Plus (@3x)

    iPhone 6s, iPhone 6, and iPhone 5 (@2x)

    iPhone 4s (@2x)

    iPad and iPad mini (@2x)

    iPad 2 and iPad mini (@1x)

    iPad Pro (@2x)

    App icon (requiredfor all apps)

    180 x 180

    120 x 120

    120 x 120

    152 x 152

    76 x 76

    167 x 167

    App icon for the App Store (requiredfor all apps)

    1024 x 1024

    1024 x 1024

    1024 x 1024

    1024 x 1024

    1024 x 1024

    1024 x 1024

    Launch file or image (requiredfor all apps)

    Use a launch file (see Launch Files)

    For iPhone 6s and iPhone 6, use a launch file (see Launch Files)

    For iPhone 5, 640 x 1136

    640 x 960

    1536 x 2048 (portrait)

    2048 x 1536 (landscape)

    768 x 1024 (portrait)

    1024 x 768 (landscape)

    2048 x 2732 (portrait)

    2732 x 2048 (landscape)

    Spotlight search results icon (recommended)

    180 x 180

    For iPhone 6s and iPhone 6, use 120 x 120

    For iPhone 5, use 80 x 80

    80 x 80

    120 x 120

    60 x 60

    120 x 120

    Settings icon (recommended)

    87 x 87

    58 x 58

    58 x 58

    58 x 58

    29 x 29

    58 x 58

    Toolbar and navigation bar icon (optional)

    About 66 x 66

    About 44 x 44

    About 44 x 44

    About 44 x 44

    About 22 x 22

    About 44 x 44

    Tab bar icon (optional)

    About 75 x 75 (maximum: 144 x 96)

    About 50 x 50 (maximum: 96 x 64)

    About 50 x 50 (maximum: 96 x 64)

    About 50 x 50 (maximum: 96 x 64)

    About 25 x 25 (maximum: 48 x 32)

    About 50 x 50 (maximum: 96 x 64)

    Web clip icon (recommended for web apps and websites)

    180 x 180

    120 x 120

    120 x 120

    152 x 152

    76 x 76

    167 x 167

    NOTE

    If you need to create custom icons for Home screen quick actions, see Home Screen Quick Actions for details.

    With the exception of the App Store icon—which must be named iTunesArtwork—you can name your icons anything you want. Use image asset entries in your Xcode project for your app’s icon files. To add icons, assign the corresponding image files to the image assets of your project. At build time, Xcode adds the appropriate keys to your app’s Info.plist file and places the images in your app bundle. iOS chooses an icon based on whether its size is appropriate for the intended usage. To learn more about asset catalogs, see Asset Catalog Help.

    For all images and icons, the PNG format is recommended. You should avoid using interlaced PNGs.

    The standard bit depth for icons and images is 24 bits.

     

    参考:https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html#//apple_ref/doc/uid/TP40006556-CH27-SW1

  • 相关阅读:
    slice和splice的区别
    Js中获取对象的所有key值
    设置layUI的时间laydate 结束时间大于开始时间
    vscode前端常用插件推荐,搭建JQuery、Vue等开发环境
    安装vue脚手架
    es6中...是什么意思
    html转义字符换行以及回车等的使用
    10款让人惊叹的HTML5/jQuery图片动画特效
    基于GIS技术的水利一张图平台
    BIM + 3D GIS在岩溶强发育区跨海盾构隧道施工中的实践应用
  • 原文地址:https://www.cnblogs.com/jys509/p/5197693.html
Copyright © 2020-2023  润新知