Swift App Icon Image Assets: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
   - home_icon_24x24.png #24x24
   - home_icon_24x24.png #24x24
    
    
# example for ios
# ios example
images:
images:
   regular: # with suffix @1x.png
   regular: # with suffix @1x.png
Line 19: Line 19:


<source lang="yaml">
<source lang="yaml">
# for iphone
# iphone
iphone:
iphone:
   images:
   images:
Line 37: Line 37:


<source lang="yaml">
<source lang="yaml">
key:
# ipad
   - string1
ipad:
   - string2     
  images:
    notification:
      - [email protected]  # 20x20
      - [email protected]  # 40x40
    settings:
      - [email protected]  # 29x29
      - [email protected]  # 58x58
    spotlight:
      - [email protected]  # 40x40
      - [email protected]  # 80x80
</source>
 
<source lang="yaml">
# ipad <= 11.0"
ipad:
   images:
    app_icon:
      - [email protected]  # 76x76
      - [email protected]  # 152x152
</source>
 
<source lang="yaml">
# ipad <= 12.9"
ipad:
   images:
    app_icon:
      - [email protected] # 167x167
</source>
 
<source lang="yaml">
ios:
  app_store: [email protected] # 1024x1024
</source>
</source>

Revision as of 03:02, 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
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
# ipad
ipad:
  images:
    notification:
      - [email protected]   # 20x20
      - [email protected]   # 40x40
    settings:
      - [email protected]   # 29x29
      - [email protected]   # 58x58
    spotlight:
      - [email protected]   # 40x40
      - [email protected]   # 80x80
# ipad <= 11.0"
ipad:
  images:
    app_icon:
      - [email protected]   # 76x76
      - [email protected]   # 152x152
# ipad <= 12.9"
ipad:
  images:
    app_icon:
      - [email protected] # 167x167
ios:
  app_store: [email protected] # 1024x1024