如何访问存储在 \StartUp\Documents\ 中的文件?

how to access to file stored in \StartUp\Documents\?

在 iOS 中,如何访问部署在“\StartUp\Documents\”中的文件?它看起来像是部署资源的路径,但我不知道如何从 运行 应用程序中找到路径。我尝试:

TPath.Combine(TPath.GetHomePath, 'StartUp/Documents/mypict.png')

没有任何成功:(

您在部署设置中部署到 StartUp/Documents 的文件会在应用程序首次运行时被 System.StartupCopy.pas 复制到您的应用程序沙箱文档文件夹中。要访问这些文件,您可以使用以下代码:

TPath.Combine(TPath.GetDocumentsPath, 'mypict.png')