How to access file included in app bundle in Swift?

后端 未结 7 1811
灰色年华
灰色年华 2020-11-30 05:46

I know there are a few questions pertaining to this, but they\'re in Objective-C.

How can I access a .txt file included in my app using Swift on

相关标签:
7条回答
  • 2020-11-30 06:22

    Bundles can be written. You can use Bundle.main.path to overwrite file by adding it into Copy Bundles Resource.

    0 讨论(0)
提交回复
热议问题