delphi IOS发布添加其他资源文件

添加自己的文件。

Project>Deployment>Add File

Remote Path

android and IOS:

assets\internal\

TPath.GetDocumentsPath

/data/data/com.tt.project/files

IOS目录:

StartUp\Documents

要求带斜杠

StartUp\Documents\

TPath.Combine(TPath.GetDocumentsPath, 'filename')

参考

http://www.cnblogs.com/flyingwang/p/3452164.html

assets\

TPath.GetSharedDocumentsPath(也就是/mnt/sdcard/Android/data/.../files)

/storage/sdcard0/Documents/msdb.db