How do I access images (for document icons) in an asset catalog in the Xcode 5 product preference editor

后端 未结 4 909
忘了有多久
忘了有多久 2021-02-07 06:57

I think I\'m literally on the last step before submitting a new Mac app, and I\'ve been banging my head against a wall for the past few hours on what I think should be really, r

4条回答
  •  春和景丽
    2021-02-07 07:34

    I did it in the most easy way:

    1. Add "New OS X Icon" to images.xcassets and name it "DocIcon", for instance.
    2. Drag and drop images of your document icon
    3. Just type "DocIcon" to icon name of your document

    You will see question mark as document icon thumbnail. Don't care about. All will work fine after build and launch of application.

提交回复
热议问题