Application Sandbox

Every iOS application has its own application sandbox. An application sandbox is a directory on the filesystem that is barricaded from the rest of the filesystem. Your application must stay in its sandbox, and no other application can access your sandbox.

Figure 18.3  Application sandbox

Application sandbox

The application sandbox contains a number of directories:

application bundle

This directory contains the executable and all application resources like NIB files and images. It is read-only.

Documents/

This directory is where you write data that the application generates during runtime and that ...

Get iOS Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.