How to make an iOS asset bundle?

前端 未结 7 601
谎友^
谎友^ 2020-12-02 05:37

I saw a custom asset bundle in an iOS project I evaluated, so at least I know it\'s possible.

My issue is that I\'m using a CATiledLayer with about 22,000 tiles for

7条回答
  •  青春惊慌失措
    2020-12-02 05:45

    Answer is stupidly simple

    Make a folder in finder, add files to it, rename it to bundlename.bundle

    drag into Xcode - success!

    to access, use the form of PathToMainBundle+"/bundlename.bundle"

提交回复
热议问题