Google News
logo
IOS - Interview Questions
What is a sandbox?
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.
 
To help apps organize their data, each sandbox directory contains several well-known subdirectories for placing files. The above Figure shows the basic layout of a sandbox directory.
Advertisement