Swift App Icon Image Assets: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{|
| valign="top" |
<source lang="yaml">
<source lang="yaml">
# regular images
# regular images
Line 4: Line 6:
   - user_icon_24x24.png #24x24
   - user_icon_24x24.png #24x24
   - home_icon_24x24.png #24x24
   - home_icon_24x24.png #24x24
 
 
# ios example
# ios example
images:
images:
Line 18: Line 20:
</source>
</source>


| valign="top" |
<source lang="yaml">
<source lang="yaml">
# iphone
#
iphone:
iphone:
   images:
   images:
     notification:
     notification:
       - [email protected] # 40x40
       - [email protected]   # 40x40
       - [email protected] # 60x60
       - [email protected]   # 60x60
     settings:
     settings:
       - [email protected] # 58x58
       - [email protected]   # 58x58
       - [email protected] # 87x87
       - [email protected]   # 87x87
     spotlight:
     spotlight:
       - [email protected] # 80x80
       - [email protected]   # 80x80
       - [email protected] # 120x120
       - [email protected]   # 120x120
     app_icon:
     app_icon:
       - [email protected] # 120x120
       - [email protected]   # 120x120
       - [email protected] # 180x180
       - [email protected]   # 180x180
      - [email protected] # 1024x1024 , app_store
</source>
</source>


| valign="top" |
<source lang="yaml">
<source lang="yaml">
# ipad
ipad:
ipad:
   images:
   images:
Line 55: Line 59:
       - [email protected] # 1024x1024 , app_store
       - [email protected] # 1024x1024 , app_store
</source>
</source>
|}

Revision as of 03:40, 6 February 2020

# regular images
regular_images:
  - user_icon_24x24.png #24x24
  - home_icon_24x24.png #24x24

# ios example
images:
  regular: # with suffix @1x.png
    - [email protected] # 24x24
    - [email protected] # 24x24
  medium:  # with suffix @2x.png
    - [email protected] # 48x48
    - [email protected] # 48x48
 bigger:   # with suffix @3x.png
   - [email protected]  # 72x72
   - [email protected]  # 72x72
#
iphone:
  images:
    notification:
      - [email protected]   # 40x40
      - [email protected]   # 60x60
    settings:
      - [email protected]   # 58x58
      - [email protected]   # 87x87
    spotlight:
      - [email protected]   # 80x80
      - [email protected]   # 120x120
    app_icon:
      - [email protected]   # 120x120
      - [email protected]   # 180x180
      - [email protected] # 1024x1024 , app_store
ipad:
  images:
    notification:
      - [email protected]   # 20x20
      - [email protected]   # 40x40
    settings:
      - [email protected]   # 29x29
      - [email protected]   # 58x58
    spotlight:
      - [email protected]   # 40x40
      - [email protected]   # 80x80
    app_icon:
      - [email protected]   # 76x76     , ipad <= 11.0"
      - [email protected]   # 152x152   , ipad <= 11.0"
      - [email protected] # 167x167   , ipad == 12.9"
      - [email protected] # 1024x1024 , app_store