在Torch iOS上访问文件。

我有一个图像文件,想在我的 Lua 文件中访问它。我已经将文件放在项目文件夹中。但是调用

local path = system.pathForFile("xxx", system.DocumentsDirectory) 不能正常工作。

我该怎么做?

点赞