Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This section presents a number of extremely simple routines that work together to allow you to manage files across your sandbox and cloud Documents folders. These methods assume your files live at the top level of these folders for several reasons:
• Both the container and sandbox Documents folders are made accessible to your users via Settings and iTunes. Therefore, they are directly visible.
• Neither system supports subfolders at this time.
• Your users own these folders directly, according to Apple’s guidelines, and should have full access and visibility to all materials contained within.
Working with the sandbox Documents folder involves little more than querying for the documents directory. These methods return the documents folder and URLs that point inside that folder. This localFileURL: method does not test the URL it returns to see if it points to a valid object.