I have continuing problems using system.pathForFile with directories.
The following code returns nil for q even though the directory “mydir” exists.
This seems to be incorrect behavior. Please help!
local target = "mydir"
local targetBaseDir = system.ResourceDirectory
local q = system.pathForFile(target, targetBaseDir)
local qq = system.pathForFile(nil, targetBaseDir)
print (q)
print (qq)
[import]uid: 37366 topic_id: 32065 reply_id: 332065[/import]