ios - iOS 中的沙盒是什么?我可以在一个应用程序与另一个应用程序之间传输数据吗?

标签 ios iphone

是否有类似沙箱化 iPhone 应用程序的方法,使用沙箱有什么好处,它们是否允许我在一个应用程序和另一个应用程序之间共享数据?

我在搜索时找到了这个链接,但由于我是 iOS 开发的新手,所以无法理解。

http://www.iphonedevsdk.com/forum/iphone-sdk-development/56207-what-is-sandbox-in-iphone.html

最佳答案

来自 The iOS Environment

For security reasons, iOS places each app (including its preferences and data) in a sandbox at install time. A sandbox is a set of fine-grained controls that limit the app’s access to files, preferences, network resources, hardware, and so on. As part of the sandboxing process, the system installs each app in its own sandbox directory, which acts as the home for the app and its data.

将数据从一个应用程序传输到另一个应用程序的一种解决方案是通过 URL Schemes

关于ios - iOS 中的沙盒是什么?我可以在一个应用程序与另一个应用程序之间传输数据吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12055990/

相关文章:

ios - UISlider - 画线/图像到轨道(条)

android - 为任何移动设备编译时不推荐使用 TList

ios - 类级别变量设置为什么总是为零?

ios - WhatsApp 如何在 iOS 上加密推送通知?

iphone - 覆盖 InputAccessoryView 时未调用模态视图析构函数

ios - 大小类在 Today Extensions 中不起作用

ios - Facebook 好友通过 ID 发布的墙贴

iphone - 减少应用程序大小cocos2d iOS

ios - swift 2.0 中的 MKMapItem 错误

ios - 比较两个 NSDate 对象的相等性给出了意想不到的结果