ios - 在 iOS 设备上部署文件 delphi xe

标签 ios delphi delphi-xe

我尝试从 delphi xe5 移动应用程序在 iOS 上部署文件,我在部署中将远程路径设置为“startUp\Documents”,在模拟器上没问题,但在设备上有以下文件结构:

MyApp.app
+Documents
+MyApp.app
++Startup
+++Documents
++++MyDBFile

正如您从上面看到的,MyDBFile 部署在错误的文件夹中,当我将文件复制到第一个 Documents 文件夹时一切正常,我尝试了 .\Startup\Documents。\Documents\Documents 但没有任何改变。有什么想法吗?

最佳答案

尝试设置“StartUp\Documents\”(大小写很重要!)

得到这个文件后:

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

更多信息请阅读 Embarcadero Doc Wiki:Loading and Deploying Files

关于ios - 在 iOS 设备上部署文件 delphi xe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21388634/

相关文章:

delphi - 自动化不同本地化版本的 Excel 时如何正确设置 NumberFormat 属性

delphi - TProc<TObject> 到 TNotifyEvent

delphi - 无法销毁 Delphi 中动态创建的菜单项

delphi - 存在任何等效于 swscanf 的 Delphi RTL 函数

iOS 架构 : Object with many optionals

objective-c - iOS 面朝上方向问题

ios - 右图像按钮从右侧对齐 x 点

delphi - 检测图片中的多个形状并计算中间位置

c++ - 如何解决 "Delphi style classes have to be derived from Delphi style classes"?

ios - 重建/重新启动时数字已注销,Xcode 8 中出现错误 -34018