blade icon indicating copy to clipboard operation
blade copied to clipboard

Support iMessage Extension & Sticker Pack icons

Open eralpkaraduman opened this issue 8 years ago • 2 comments

Let's support icon sizes for iMessage iMessage extensions & sticker packs.

Guidelines

Discussed under iMessage App and Sticker Pack Icons https://developer.apple.com/ios/human-interface-guidelines/extensions/messaging/

By the time I'm writing this, it required variations in sizes:

  • 1024px by 768px
  • 120px by 90px
  • 64px by 48px
  • 180px by 135px
  • 96px by 72px
  • 58px by 58px
  • 148px by 110px
  • 87px by 87px
  • 54px by 40px
  • 134px by 100px
  • 81px by 60px

eralpkaraduman avatar Oct 20 '16 21:10 eralpkaraduman

@jondot I'd be happy to implement this, do you have any notes?

eralpkaraduman avatar Oct 20 '16 21:10 eralpkaraduman

I tried this Bladefile entry

- source: assets/icon-1024x1024.png
   mount: StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset
   contents: false

It created images in correct sizes but,

  • It scaled them by distorting, tried to fit the frame, didn't clip ( iMessage icons are narrower in height ) I think clipping would be expected by most users
  • Didn't assign the images. Generated images remain unassigned in .stickericonset folder in XCode

In the ideal future implementation: How clipping mode should be set in Bladefile? Or should there be a flag that stating this is imessage extension icon?

eralpkaraduman avatar Oct 20 '16 21:10 eralpkaraduman