Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

watchkit image asset naming convention

Tags:

ios

watchkit

Is there a standard naming convention for watchkit image assets so that when you import them into an xcassets folder they are categorized correctly?

I've tried

    watchimage@2x~watch.png
    watchimage@2x~38mm.png
    [email protected]
    [email protected]

none of which worked.

currently, its a lot of work to drag a bunch of 38mm images into the media asset, set them all to device specific "Apple Watch" then drag all them to the correct slot, then rinse and repeat for the 42mm images.

like image 206
Travis Beck Avatar asked Oct 31 '22 08:10

Travis Beck


1 Answers

There isn't, unfortunately. Hopefully this is something Apple will support in the future. We ended up writing an Automator script to handle the imports for us.

I'd recommend filing an Enhancement radar on Apple's bug reporting system.

like image 68
cnoon Avatar answered Nov 11 '22 05:11

cnoon