禁用对管理器中应用程序目录的访问

发布于 2024-10-02 12:29:15 字数 70 浏览 3 评论 0原文

我想在管理器中禁用[我的应用程序]的“下载数据”功能。我相信这是一个 plist 文件设置,但在任何地方都找不到有关它的信息。

I want to disable the "download data" capability [for my app] in Organizer. I belive it's a plist file setting but can't find information on it anywhere.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丿*梦醉红颜 2024-10-09 12:29:15

您正在考虑 UIFileSharingEnabled,但这并不能完全阻止人们,正如 这个答案。该答案还链接到一个苹果文档,该文档建议在 [app home]/Library/ 中创建一个自定义目录,例如“私人文档”(确保文件夹名称是唯一的),因为 Library/ 在备份和升级中维护并隐藏来自用户。请参阅此链接

You're thinking of UIFileSharingEnabled, but that doesn't quite stop people, as reported in this answer. That answer also links to an Apple doc that advises creating a custom directory in [app home]/Library/, something like "Private Documents" (make sure the folder name is unique), since Library/ is maintained in backups and upgrades and hidden from the user. See this link.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文