[英]iOS: Include the resource(audio) files into the application folder of the app rather than adding into the bundle
Currently my resource(audio) files is included in the bundle.目前我的资源(音频)文件包含在包中。 Due to this user is unable to delete the unwanted audio files to save the disk space on his phone.
由于此用户无法删除不需要的音频文件以节省手机上的磁盘空间。 Please let me know how can I directly include the audio files into the Applications folder of app while submitting the build to AppStore and not in the bundle.
请让我知道如何将音频文件直接包含到应用程序的应用程序文件夹中,同时将构建提交到 AppStore 而不是捆绑包中。 Thereby user can delete the files which are not of his interest and re-download from the cloud backup hosted on S3 if needed.
因此,用户可以删除他不感兴趣的文件,并在需要时从托管在 S3 上的云备份中重新下载。
The only way to accomplish this is to NOT have the audio files included in the initial app install.完成此操作的唯一方法是不在初始应用安装中包含音频文件。
Instead, your app could download the audio files from a hosting service... either download them all on first launch, or download each file as-needed.相反,您的应用可以从托管服务下载音频文件……或者在首次启动时全部下载,或者根据需要下载每个文件。
You would then store the files on the device so they don't need to be downloaded again... and you could provide a UI to delete files the user no longer wants stored locally.然后,您可以将文件存储在设备上,这样就不需要再次下载它们……并且您可以提供一个 UI 来删除用户不再希望在本地存储的文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.